Skip to content

Commit a739000

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

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
@@ -102,8 +102,8 @@ def setUp(self):
102102

103103
def test_ftp(self):
104104
urls = [
105-
'ftp://ftp.debian.org/debian/README',
106-
('ftp://ftp.debian.org/debian/non-existent-file',
105+
'ftp://www.pythontest.net/README',
106+
('ftp://www.pythontest.net/non-existent-file',
107107
None, urllib2.URLError),
108108
]
109109
self._test_urls(urls, self._extra_handlers())
@@ -282,7 +282,7 @@ def test_http_timeout(self):
282282
u = _urlopen_with_retry(url, timeout=120)
283283
self.assertEqual(u.fp._sock.fp._sock.gettimeout(), 120)
284284

285-
FTP_HOST = 'ftp://ftp.debian.org/debian/'
285+
FTP_HOST = 'ftp://www.pythontest.net/'
286286

287287
def test_ftp_basic(self):
288288
self.assertIsNone(socket.getdefaulttimeout())

0 commit comments

Comments
 (0)