diff options
author | Georg Brandl <georg@python.org> | 2014-09-30 15:30:18 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-09-30 15:30:18 (GMT) |
commit | 3bc35672a23a4505ffe5b6eeb822125dce9db770 (patch) | |
tree | 859cb6e6e541ba4735cfa358e01b7a3d370d7c94 | |
parent | 4615076471404c5e586d90a68ef2f26fc2201c84 (diff) | |
download | cpython-3bc35672a23a4505ffe5b6eeb822125dce9db770.zip cpython-3bc35672a23a4505ffe5b6eeb822125dce9db770.tar.gz cpython-3bc35672a23a4505ffe5b6eeb822125dce9db770.tar.bz2 |
Backport b533cc11d114 to fix intermittent test_urllibnet failures.
-rwxr-xr-x | Lib/test/test_urllibnet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 1b6dee2..3e47d26 100755 --- a/Lib/test/test_urllibnet.py +++ b/Lib/test/test_urllibnet.py @@ -104,7 +104,7 @@ class urlopenNetworkTests(unittest.TestCase): # test can't pass on Windows. return # Make sure fd returned by fileno is valid. - with self.urlopen("http://www.example.com/", timeout=None) as open_url: + with self.urlopen("http://www.google.com/", timeout=None) as open_url: fd = open_url.fileno() with os.fdopen(fd, 'rb') as f: self.assertTrue(f.read(), "reading from file created using fd " |