]> granicus.if.org Git - python/commitdiff
Issue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 7 Apr 2015 10:52:50 +0000 (12:52 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 7 Apr 2015 10:52:50 +0000 (12:52 +0200)
are down, don't use anymore in test_urllib2net

Lib/test/test_urllib2net.py

index fc2140809ed55ac18efdfef929d5de6a5d9bf07b..17f9d1bdee3d5432f35c51da2da8dfb43152925d 100644 (file)
@@ -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())