Skip to content

Commit f87e616

Browse files
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) (GH-31173)
POST requests to http://www.example.com/ fail randomly. (cherry picked from commit 1578de2) Co-authored-by: Victor Stinner <[email protected]>
1 parent 7c5b01b commit f87e616

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_urllib2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,8 @@ class MyOtherHTTPHandler(urllib.request.HTTPHandler):
17851785

17861786
@unittest.skipUnless(support.is_resource_enabled('network'),
17871787
'test requires network access')
1788+
# bpo-46648: test fails randomly with "http://www.example.com/" URL
1789+
@unittest.skipIf(True, "POST request to http://www.example.com/ fail randomly")
17881790
def test_issue16464(self):
17891791
with support.transient_internet("http://www.example.com/"):
17901792
opener = urllib.request.build_opener()

0 commit comments

Comments
 (0)