summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-06 14:08:54 (GMT)
committerGitHub <noreply@github.com>2022-02-06 14:08:54 (GMT)
commit1578de2fcd685c71f9c84e09bac32901dea192c1 (patch)
tree5a8290d7f31f94055f4ee50bda496e59ccfd1e71
parent6c4e44ef8ab550f846ba056d4561efb8256b8eab (diff)
downloadcpython-1578de2fcd685c71f9c84e09bac32901dea192c1.zip
cpython-1578de2fcd685c71f9c84e09bac32901dea192c1.tar.gz
cpython-1578de2fcd685c71f9c84e09bac32901dea192c1.tar.bz2
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161)
POST requests to http://www.example.com/ fail randomly.
-rw-r--r--Lib/test/test_urllib2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index a2b1340..0936e43 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()