]> granicus.if.org Git - python/commitdiff
Issue #21069: Temporarily use www.google.com while investigating
authorNed Deily <nad@acm.org>
Thu, 27 Mar 2014 08:39:28 +0000 (01:39 -0700)
committerNed Deily <nad@acm.org>
Thu, 27 Mar 2014 08:39:28 +0000 (01:39 -0700)
test_urllibnet.test_fileno intermittent failures with www.example.com.

Lib/test/test_urllibnet.py

index 8578695d1968929c1ae8e6381292b6d91a2ce757..b66202c1f8ea9c17c487906b54142371a0aaee10 100644 (file)
@@ -101,7 +101,7 @@ class urlopenNetworkTests(unittest.TestCase):
     @unittest.skipIf(sys.platform in ('win32',), 'not appropriate for Windows')
     def test_fileno(self):
         # 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 "