From: Victor Stinner Date: Sun, 6 Feb 2022 14:08:54 +0000 (+0100) Subject: bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) X-Git-Tag: v3.11.0a6~302 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1578de2fcd685c71f9c84e09bac32901dea192c1;p=thirdparty%2FPython%2Fcpython.git bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) POST requests to http://www.example.com/ fail randomly. --- diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index a2b1340e0bf5..0936e435a487 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -1790,6 +1790,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()