8000 Use a different URL for sporadically failing urllib test (HTTP Error … · thecodingchicken/python-future@05dfaf6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 05dfaf6

Browse files
committed
Use a different URL for sporadically failing urllib test (HTTP Error 503: Service Unavailable)
1 parent 86fd829 commit 05dfaf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

future/tests/test_standard_library.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,11 @@ def test_urllib_request_ssl_redirect(self):
330330

331331
def test_urllib_request_http(self):
332332
"""
333-
This site (amazon.com) uses plain http (as of 2014-04-12).
333+
This site (python-future.org) uses plain http (as of 2014-09-23).
334334
"""
335335
import future.moves.urllib.request as urllib_request
336336
from pprint import pprint
337-
URL = 'http://amazon.com'
337+
URL = 'http://python-future.org'
338338
r = urllib_request.urlopen(URL)
339339
data = r.read()
340340
self.assertTrue(b'<html>' in data)

0 commit comments

Comments
 (0)
0