mirror of https://github.com/python/cpython
Issue #8348: Fix test ftp url in test_urllib2net.
This commit is contained in:
parent
e84089e3f1
commit
7bc26b9be6
|
@ -220,7 +220,7 @@ class TimeoutTest(unittest.TestCase):
|
|||
u = _urlopen_with_retry("http://www.python.org", timeout=120)
|
||||
self.assertEqual(u.fp._sock.fp._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)
|
||||
|
|
Loading…
Reference in New Issue