]> granicus.if.org Git - python/commitdiff
Patch #1678662: ftp.python.org does not exist. So the testcode in urllib.py must...
authorCollin Winter <collinw@gmail.com>
Mon, 12 Mar 2007 01:57:49 +0000 (01:57 +0000)
committerCollin Winter <collinw@gmail.com>
Mon, 12 Mar 2007 01:57:49 +0000 (01:57 +0000)
stable FTP.
Backported from r54278.

Lib/urllib.py

index 4a1fa64bb4029686282f7fdbf55e7e37ed635860..9fbb19a4198f703dd612bcc5f885f9b161e3ab52 100644 (file)
@@ -1471,7 +1471,7 @@ def test(args=[]):
             '/etc/passwd',
             'file:/etc/passwd',
             'file://localhost/etc/passwd',
-            'ftp://ftp.python.org/pub/python/README',
+            'ftp://ftp.gnu.org/pub/README',
 ##          'gopher://gopher.micro.umn.edu/1/',
             'http://www.python.org/index.html',
             ]