Skip to content

Commit c88407c

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_urllib2.py

+2
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,8 @@ class MyOtherHTTPHandler(urllib.request.HTTPHandler):
17901790

17911791
@unittest.skipUnless(support.is_resource_enabled('network'),
17921792
'test requires network access')
1793+
# bpo-46648: test fails randomly with "http://www.example.com/" URL
1794+
@unittest.skipIf(True, "POST request to http://www.example.com/ fail randomly")
17931795
def test_issue16464(self):
17941796
with socket_helper.transient_internet("http://www.example.com/"):
17951797
opener = urllib.request.build_opener()

0 commit comments

Comments
 (0)