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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bc35672a23a4505ffe5b6eeb822125dce9db770;p=thirdparty%2FPython%2Fcpython.git Backport b533cc11d114 to fix intermittent test_urllibnet failures. --- diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 1b6dee261fc8..3e47d2671673 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 "