mirror of https://github.com/python/cpython
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161)
POST requests to http://www.example.com/ fail randomly.
This commit is contained in:
parent
6c4e44ef8a
commit
1578de2fcd
|
@ -1790,6 +1790,8 @@ class MiscTests(unittest.TestCase):
|
||||||
|
|
||||||
@unittest.skipUnless(support.is_resource_enabled('network'),
|
@unittest.skipUnless(support.is_resource_enabled('network'),
|
||||||
'test requires network access')
|
'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):
|
def test_issue16464(self):
|
||||||
with socket_helper.transient_internet("http://www.example.com/"):
|
with socket_helper.transient_internet("http://www.example.com/"):
|
||||||
opener = urllib.request.build_opener()
|
opener = urllib.request.build_opener()
|
||||||
|
|
Loading…
Reference in New Issue