We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dbe11a commit a739000Copy full SHA for a739000
Lib/test/test_urllib2net.py
@@ -102,8 +102,8 @@ def setUp(self):
102
103
def test_ftp(self):
104
urls = [
105
- 'ftp://ftp.debian.org/debian/README',
106
- ('ftp://ftp.debian.org/debian/non-existent-file',
+ 'ftp://www.pythontest.net/README',
+ ('ftp://www.pythontest.net/non-existent-file',
107
None, urllib2.URLError),
108
]
109
self._test_urls(urls, self._extra_handlers())
@@ -282,7 +282,7 @@ def test_http_timeout(self):
282
u = _urlopen_with_retry(url, timeout=120)
283
self.assertEqual(u.fp._sock.fp._sock.gettimeout(), 120)
284
285
- FTP_HOST = 'ftp://ftp.debian.org/debian/'
+ FTP_HOST = 'ftp://www.pythontest.net/'
286
287
def test_ftp_basic(self):
288
self.assertIsNone(socket.getdefaulttimeout())
0 commit comments