diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-03-31 17:47:04 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-03-31 17:47:04 (GMT) |
commit | 1b90f8e0e9b02c51a0d7b4ee19bf7d9d696975bc (patch) | |
tree | 1a8cff94ede79df2719e6d28a6326142d56658a5 /Lib/test | |
parent | f50d46cbda424ea4e9c1fc6d082a7b91206a3992 (diff) | |
parent | 887cd7d981d062d82b906b64e3c313c7b43908f2 (diff) | |
download | cpython-1b90f8e0e9b02c51a0d7b4ee19bf7d9d696975bc.zip cpython-1b90f8e0e9b02c51a0d7b4ee19bf7d9d696975bc.tar.gz cpython-1b90f8e0e9b02c51a0d7b4ee19bf7d9d696975bc.tar.bz2 |
merge 3.4 (#21115)
Diffstat (limited to 'Lib/test')
-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 3b2f2b8..fd667f2 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/2/glossary.html#glossary" + urlwith_frag = "https://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/2/glossary.html#glossary") + "https://docs.python.org/2/glossary.html#glossary") def test_redirect_url_withfrag(self): redirect_url_with_frag = "http://bitly.com/urllibredirecttest" |