diff options
author | Brett Cannon <brett@python.org> | 2012-10-28 11:48:24 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-10-28 11:48:24 -0400 |
commit | 0e8c49d3583bbe86dd26f07819fd526eda8a0dcc (patch) | |
tree | cd085f2d606c69f7569e5006b6fa98faf7001197 /Lib/test/test_urllib2net.py | |
parent | 6a85f3cbe4b43860c527c43bd5da0220c4f96c0e (diff) | |
parent | 8ca705d5495f02ad93380e1f960adb98f7c00e22 (diff) | |
download | cpython-git-0e8c49d3583bbe86dd26f07819fd526eda8a0dcc.tar.gz |
merge
Diffstat (limited to 'Lib/test/test_urllib2net.py')
-rw-r--r-- | Lib/test/test_urllib2net.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index fc5527ee87..7f3c93adaa 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -157,12 +157,12 @@ class OtherNetworkTests(unittest.TestCase): ## self._test_urls(urls, self._extra_handlers()+[bauth, dauth]) def test_urlwithfrag(self): - urlwith_frag = "http://docs.python.org/glossary.html#glossary" + urlwith_frag = "http://docs.python.org/2/glossary.html#glossary" with support.transient_internet(urlwith_frag): req = urllib.request.Request(urlwith_frag) res = urllib.request.urlopen(req) self.assertEqual(res.geturl(), - "http://docs.python.org/glossary.html#glossary") + "http://docs.python.org/2/glossary.html#glossary") def test_custom_headers(self): url = "http://www.example.com" |