Replace example.com with pythontest.net in test_getcode of test_urllibnet

This commit is contained in:
Berker Peksag 2016-05-07 16:41:39 +03:00
parent 816a5ff3b2
commit cacbc17d67
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class urlopenNetworkTests(unittest.TestCase):
def test_getcode(self):
# test getcode() with the fancy opener to get 404 error codes
URL = "http://www.example.com/XXXinvalidXXX"
URL = "http://www.pythontest.net/XXXinvalidXXX"
open_url = urllib.FancyURLopener().open(URL)
try:
code = open_url.getcode()