mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161)
POST requests to http://www.example.com/ fail randomly.
(cherry picked from commit 1578de2fcd)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
459e26f098
commit
1b8a34ae65
1 changed files with 2 additions and 0 deletions
|
|
@ -1788,6 +1788,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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue