]> granicus.if.org Git - python/commitdiff
changeset: 80007:49e4541f2aef
authorGeorg Brandl <georg@python.org>
Sun, 28 Oct 2012 09:51:35 +0000 (10:51 +0100)
committerGeorg Brandl <georg@python.org>
Sun, 28 Oct 2012 09:51:35 +0000 (10:51 +0100)
parent: 80003:be83cbf4a789
parent: 80006:32df036e6b75
user: Georg Brandl <georg@python.org>
date: Sun Oct 28 10:50:11 2012 +0100
summary: merge with 3.3

Lib/test/test_urllib2net.py

index 5fcb4cbca20f94a40a4b04f4a288779934e1d496..e2b1d95c0456e0eec6b9d78f107ac7317e89fc36 100644 (file)
@@ -156,12 +156,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"