From: Berker Peksag Date: Sat, 7 May 2016 13:41:39 +0000 (+0300) Subject: Replace example.com with pythontest.net in test_getcode of test_urllibnet X-Git-Tag: v2.7.12rc1~84 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cacbc17d6721d5d433d6ccae576f6c5dbdc88e48;p=thirdparty%2FPython%2Fcpython.git Replace example.com with pythontest.net in test_getcode of test_urllibnet --- diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 7c4b1f709786..a4b4d9250394 100644 --- a/Lib/test/test_urllibnet.py +++ b/Lib/test/test_urllibnet.py @@ -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()