From: Georg Brandl Date: Sun, 28 Oct 2012 09:51:35 +0000 (+0100) Subject: changeset: 80007:49e4541f2aef X-Git-Tag: v2.7.4rc1~441 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08114d40e94fa97ac9a55b80b69dc269da904fcc;p=thirdparty%2FPython%2Fcpython.git changeset: 80007:49e4541f2aef parent: 80003:be83cbf4a789 parent: 80006:32df036e6b75 user: Georg Brandl date: Sun Oct 28 10:50:11 2012 +0100 summary: merge with 3.3 --- diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index dcdbfe87c664..4d73ac0acf9f 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 test_support.transient_internet(urlwith_frag): req = urllib2.Request(urlwith_frag) res = urllib2.urlopen(req) self.assertEqual(res.geturl(), - "http://docs.python.org/glossary.html#glossary") + "http://docs.python.org/2/glossary.html#glossary") def test_fileno(self): req = urllib2.Request("http://www.python.org")