diff options
author | Brett Cannon <brett@python.org> | 2012-10-28 15:49:00 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-10-28 15:49:00 (GMT) |
commit | 6c1da829bac310f555d3f3e8e643e9966d7d77fc (patch) | |
tree | c682aa7ee04dca5433bef4d27b487eafdf244b9f /Lib/test/test_urllib2net.py | |
parent | f873d7c20e9b87e13b27d0eff34c5f50358d4105 (diff) | |
parent | 6294305c2f97eca55789574d8f14aa6765bb3007 (diff) | |
download | cpython-6c1da829bac310f555d3f3e8e643e9966d7d77fc.zip cpython-6c1da829bac310f555d3f3e8e643e9966d7d77fc.tar.gz cpython-6c1da829bac310f555d3f3e8e643e9966d7d77fc.tar.bz2 |
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 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" |