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),

@@ -291,7 +289,7 @@ class TimeoutTest(unittest.TestCase): self.addCleanup(u.close) self.assertEqual(u.fp.raw._sock.gettimeout(), 120)

def test_ftp_basic(self): self.assertIsNone(socket.getdefaulttimeout())