summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-10-28 09:51:52 (GMT)
committerGeorg Brandl <georg@python.org>2012-10-28 09:51:52 (GMT)
commit7fe16b36abd3f0ef5fa968a8deadba0a5cf794f2 (patch)
tree79a7d9b6e4b63e73121cb7c74392f6d2a9b42779 /Lib
parent87c315eb7532c019b5e9a757389cd61fe4f51f8f (diff)
parent5b9561d1f1548787e518934aea02fad8a0391ab5 (diff)
downloadcpython-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.py4
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"