diff options
author | Georg Brandl <georg@python.org> | 2012-10-28 09:51:52 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-10-28 09:51:52 (GMT) |
commit | 7fe16b36abd3f0ef5fa968a8deadba0a5cf794f2 (patch) | |
tree | 79a7d9b6e4b63e73121cb7c74392f6d2a9b42779 /Lib | |
parent | 87c315eb7532c019b5e9a757389cd61fe4f51f8f (diff) | |
parent | 5b9561d1f1548787e518934aea02fad8a0391ab5 (diff) | |
download | cpython-7fe16b36abd3f0ef5fa968a8deadba0a5cf794f2.zip cpython-7fe16b36abd3f0ef5fa968a8deadba0a5cf794f2.tar.gz cpython-7fe16b36abd3f0ef5fa968a8deadba0a5cf794f2.tar.bz2 |
merge with 3.3
Diffstat (limited to 'Lib')
-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 fc5527e..7f3c93a 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" |