From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 6 Feb 2022 14:30:18 +0000 (-0800) Subject: bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) X-Git-Tag: v3.9.11~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b8a34ae65688cfadc81e0174b5aea979b264b3e;p=thirdparty%2FPython%2Fcpython.git bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) POST requests to http://www.example.com/ fail randomly. (cherry picked from commit 1578de2fcd685c71f9c84e09bac32901dea192c1) Co-authored-by: Victor Stinner --- diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 12c3f4dbd5bf..d8aab53089bc 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -1788,6 +1788,8 @@ class MiscTests(unittest.TestCase): @unittest.skipUnless(support.is_resource_enabled('network'), 'test requires network access') + # bpo-46648: test fails randomly with "http://www.example.com/" URL + @unittest.skipIf(True, "POST request to http://www.example.com/ fail randomly") def test_issue16464(self): with socket_helper.transient_internet("http://www.example.com/"): opener = urllib.request.build_opener()