From: Georg Brandl Date: Tue, 30 Sep 2014 15:30:18 +0000 (+0200) Subject: Backport b533cc11d114 to fix intermittent test_urllibnet failures. X-Git-Tag: v3.2.6rc1~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bc35672a23a4505ffe5b6eeb822125dce9db770;p=python Backport b533cc11d114 to fix intermittent test_urllibnet failures. --- diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 1b6dee261f..3e47d26716 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 "