Skip to content

Commit aca493b

Browse files
ammaraskarberkerpeksag
authored andcommitted
[3.5] bpo-30883: Use pythontest.net instead of debian.org in test_urllib2net (GH-2755)
1 parent cb3f024 commit aca493b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_urllib2net.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def setUp(self):
9797

9898
def test_ftp(self):
9999
urls = [
100-
'ftp://ftp.debian.org/debian/README',
101-
('ftp://ftp.debian.org/debian/non-existent-file',
100+
'ftp://www.pythontest.net/README',
101+
('ftp://www.pythontest.net/non-existent-file',
102102
None, urllib.error.URLError),
103103
]
104104
self._test_urls(urls, self._extra_handlers())
@@ -287,7 +287,7 @@ def test_http_timeout(self):
287287
self.addCleanup(u.close)
288288
self.assertEqual(u.fp.raw._sock.gettimeout(), 120)
289289

290-
FTP_HOST = 'ftp://ftp.debian.org/debian/'
290+
FTP_HOST = 'ftp://www.pythontest.net/'
291291

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

0 commit comments

Comments
 (0)