diff options
author | Larry Hastings <larry@hastings.org> | 2017-01-02 05:49:09 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2017-01-02 05:49:09 (GMT) |
commit | 03fdeb786c2e0c1f3daa3e0b752098f372ebb6ba (patch) | |
tree | 246819ef16e75115067cd2a8856cca6aab7125d2 | |
parent | b6e2142b0cf96ffd081eff1f4f6d90074efa0ead (diff) | |
download | cpython-03fdeb786c2e0c1f3daa3e0b752098f372ebb6ba.zip cpython-03fdeb786c2e0c1f3daa3e0b752098f372ebb6ba.tar.gz cpython-03fdeb786c2e0c1f3daa3e0b752098f372ebb6ba.tar.bz2 |
Fix test failure so it's no longer dependent on example.com.
-rw-r--r-- | Lib/test/test_urllibnet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 42ebb6e..5331afc 100644 --- a/Lib/test/test_urllibnet.py +++ b/Lib/test/test_urllibnet.py @@ -89,7 +89,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" with support.transient_internet(URL): with self.assertWarns(DeprecationWarning): open_url = urllib.request.FancyURLopener().open(URL) |