8000 Backport b533cc11d114 to fix intermittent test_urllibnet failures. · python/cpython@3bc3567 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3bc3567

Browse files
committed
Backport b533cc11d114 to fix intermittent test_urllibnet failures.
1 parent 4615076 commit 3bc3567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_urllibnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_fileno(self):
104104
# test can't pass on Windows.
105105
return
106106
# Make sure fd returned by fileno is valid.
107-
with self.urlopen("http://www.example.com/", timeout=None) as open_url:
107+
with self.urlopen("http://www.google.com/", timeout=None) as open_url:
108108
fd = open_url.fileno()
109109
with os.fdopen(fd, 'rb') as f:
110110
self.assertTrue(f.read(), "reading from file created using fd "

0 commit comments

Comments
 (0)
0