From cacbc17d6721d5d433d6ccae576f6c5dbdc88e48 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Sat, 7 May 2016 16:41:39 +0300 Subject: [PATCH] Replace example.com with pythontest.net in test_getcode of test_urllibnet --- Lib/test/test_urllibnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 7c4b1f70978..a4b4d925039 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()