summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-02-08 09:52:39 (GMT)
committerGitHub <noreply@github.com>2022-02-08 09:52:39 (GMT)
commitf87e616af038ee8963185e11b96841c81e8ef15a (patch)
treed82e998d6a49fb358fc6e8be655b228253a97d0f
parent7c5b01b5101923fc38274c491bd55239ee9f0416 (diff)
downloadcpython-f87e616af038ee8963185e11b96841c81e8ef15a.zip
cpython-f87e616af038ee8963185e11b96841c81e8ef15a.tar.gz
cpython-f87e616af038ee8963185e11b96841c81e8ef15a.tar.bz2
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) (GH-31173)
POST requests to http://www.example.com/ fail randomly. (cherry picked from commit 1578de2fcd685c71f9c84e09bac32901dea192c1) Co-authored-by: Victor Stinner <vstinner@python.org>
-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 1603153..b77f90a 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -1785,6 +1785,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 support.transient_internet("http://www.example.com/"):
opener = urllib.request.build_opener()