diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-07 10:52:50 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-07 10:52:50 (GMT) |
commit | 4bea4615724319fad1c3c34066ff4411eacb8e51 (patch) | |
tree | e5a1dcb38fc099307e2264de6b3c703bef443098 | |
parent | ab73e65032565029fdd00e73936dc3b4a197bef6 (diff) | |
download | cpython-4bea4615724319fad1c3c34066ff4411eacb8e51.zip cpython-4bea4615724319fad1c3c34066ff4411eacb8e51.tar.gz cpython-4bea4615724319fad1c3c34066ff4411eacb8e51.tar.bz2 |
Issue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/
are down, don't use anymore in test_urllib2net
-rw-r--r-- | Lib/test/test_urllib2net.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index fc21408..17f9d1b 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -102,8 +102,6 @@ class OtherNetworkTests(unittest.TestCase): 'ftp://ftp.debian.org/debian/README', ('ftp://ftp.debian.org/debian/non-existent-file', None, urllib.error.URLError), - 'ftp://gatekeeper.research.compaq.com/pub/DEC/SRC' - '/research-reports/00README-Legal-Rules-Regs', ] self._test_urls(urls, self._extra_handlers()) @@ -291,7 +289,7 @@ class TimeoutTest(unittest.TestCase): self.addCleanup(u.close) self.assertEqual(u.fp.raw._sock.gettimeout(), 120) - FTP_HOST = "ftp://ftp.mirror.nl/pub/gnu/" + FTP_HOST = 'ftp://ftp.debian.org/debian/' def test_ftp_basic(self): self.assertIsNone(socket.getdefaulttimeout()) |