Skip to content

Commit 03fdeb7

Browse files
committed
Fix test failure so it's no longer dependent on example.com.
1 parent b6e2142 commit 03fdeb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_urllibnet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def test_geturl(self):
8989

9090
def test_getcode(self):
9191
# test getcode() with the fancy opener to get 404 error codes
92-
URL = "http://www.example.com/XXXinvalidXXX"
92+
URL = "http://www.pythontest.net/XXXinvalidXXX"
9393
with support.transient_internet(URL):
9494
with self.assertWarns(DeprecationWarning):
9595
open_url = urllib.request.FancyURLopener().open(URL)

0 commit comments

Comments
 (0)