(original) (raw)

changeset: 89989:adf1e04478b4 branch: 3.4 parent: 89987:b533cc11d114 user: Ned Deily nad@acm.org date: Thu Mar 27 01:39:28 2014 -0700 files: Lib/test/test_urllibnet.py description: Issue #21069: Temporarily use www.google.com while investigating test_urllibnet.test_fileno intermittent failures with www.example.com. diff -r b533cc11d114 -r adf1e04478b4 Lib/test/test_urllibnet.py --- a/Lib/test/test_urllibnet.py Wed Mar 26 23:43:26 2014 -0700 +++ b/Lib/test/test_urllibnet.py Thu Mar 27 01:39:28 2014 -0700 @@ -101,7 +101,7 @@ @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 " /nad@acm.org