Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1b8a34a

Browse filesBrowse 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 <vstinner@python.org>
1 parent 459e26f commit 1b8a34a
Copy full SHA for 1b8a34a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎Lib/test/test_urllib2.py

Copy file name to clipboardExpand all lines: Lib/test/test_urllib2.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,6 +1788,8 @@ class MyOtherHTTPHandler(urllib.request.HTTPHandler):
17881788

17891789
@unittest.skipUnless(support.is_resource_enabled('network'),
17901790
'test requires network access')
1791+
# bpo-46648: test fails randomly with "http://www.example.com/" URL
1792+
@unittest.skipIf(True, "POST request to http://www.example.com/ fail randomly")
17911793
def test_issue16464(self):
17921794
with socket_helper.transient_internet("http://www.example.com/"):
17931795
opener = urllib.request.build_opener()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.