cpython: 40ddcd785f7b (original) (raw)
Mercurial > cpython
changeset 95469:40ddcd785f7b 3.4
Issue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/ are down, don't use anymore in test_urllib2net [#23881]
Victor Stinner victor.stinner@gmail.com | |
---|---|
date | Tue, 07 Apr 2015 12:52:50 +0200 |
parents | 7b168db16e67 |
children | 6ed381537e6c 597768629c2e |
files | Lib/test/test_urllib2net.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-)[+] [-] Lib/test/test_urllib2net.py 4 |
line wrap: on
line diff
--- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -102,8 +102,6 @@ class OtherNetworkTests(unittest.TestCas 'ftp://ftp.debian.org/debian/README',[](#l1.4) ('ftp://ftp.debian.org/debian/non-existent-file',[](#l1.5) None, urllib.error.URLError),
'ftp://gatekeeper.research.compaq.com/pub/DEC/SRC'[](#l1.7)
'/research-reports/00README-Legal-Rules-Regs',[](#l1.8) ][](#l1.9) self._test_urls(urls, self._extra_handlers())[](#l1.10)
@@ -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/"[](#l1.16)
- FTP_HOST = 'ftp://ftp.debian.org/debian/'[](#l1.17)
def test_ftp_basic(self): self.assertIsNone(socket.getdefaulttimeout())