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 cb3f024 commit aca493bCopy full SHA for aca493b
Lib/test/test_urllib2net.py
@@ -97,8 +97,8 @@ def setUp(self):
97
98
def test_ftp(self):
99
urls = [
100
- 'ftp://ftp.debian.org/debian/README',
101
- ('ftp://ftp.debian.org/debian/non-existent-file',
+ 'ftp://www.pythontest.net/README',
+ ('ftp://www.pythontest.net/non-existent-file',
102
None, urllib.error.URLError),
103
]
104
self._test_urls(urls, self._extra_handlers())
@@ -287,7 +287,7 @@ def test_http_timeout(self):
287
self.addCleanup(u.close)
288
self.assertEqual(u.fp.raw._sock.gettimeout(), 120)
289
290
- FTP_HOST = 'ftp://ftp.debian.org/debian/'
+ FTP_HOST = 'ftp://www.pythontest.net/'
291
292
def test_ftp_basic(self):
293
self.assertIsNone(socket.getdefaulttimeout())
0 commit comments