]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161)
authorVictor Stinner <vstinner@python.org>
Sun, 6 Feb 2022 14:08:54 +0000 (15:08 +0100)
committerGitHub <noreply@github.com>
Sun, 6 Feb 2022 14:08:54 +0000 (15:08 +0100)
POST requests to http://www.example.com/ fail randomly.

Lib/test/test_urllib2.py

index a2b1340e0bf5ba1a617210faf5bb23f3256f6cb7..0936e435a4870ce10b0fc19db934746812381cfa 100644 (file)
@@ -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()