Merged revisions 79908 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79908 | martin.v.loewis | 2010-04-08 12:40:54 -0500 (Thu, 08 Apr 2010) | 2 lines

  Issue #8348: Fix test ftp url in test_urllib2net.
........
This commit is contained in:
Benjamin Peterson 2010-04-11 21:59:57 +00:00
parent 7f1fddc4e0
commit 87cb787688
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class TimeoutTest(unittest.TestCase):
u = _urlopen_with_retry("http://www.python.org", timeout=120)
self.assertEqual(u.fp.raw._sock.gettimeout(), 120)
FTP_HOST = "ftp://ftp.mirror.nl/pub/mirror/gnu/"
FTP_HOST = "ftp://ftp.mirror.nl/pub/gnu/"
def test_ftp_basic(self):
self.assertTrue(socket.getdefaulttimeout() is None)