diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 12c3f4dbd5bf08..d8aab53089bc44 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -1788,6 +1788,8 @@ class MyOtherHTTPHandler(urllib.request.HTTPHandler): @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()