diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-03-31 17:50:34 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-03-31 17:50:34 (GMT) |
commit | 809ee902c438c2b4666e990ebe1cfd9c75a2f10d (patch) | |
tree | de8d1e8baf303fc27dbf2ae7d6f8a3637ae78c24 /Lib | |
parent | 887cd7d981d062d82b906b64e3c313c7b43908f2 (diff) | |
download | cpython-809ee902c438c2b4666e990ebe1cfd9c75a2f10d.zip cpython-809ee902c438c2b4666e990ebe1cfd9c75a2f10d.tar.gz cpython-809ee902c438c2b4666e990ebe1cfd9c75a2f10d.tar.bz2 |
use https docs url
Diffstat (limited to 'Lib')
-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 fd667f2..d80e39a 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -165,12 +165,12 @@ class OtherNetworkTests(unittest.TestCase): "https://docs.python.org/2/glossary.html#glossary") def test_redirect_url_withfrag(self): - redirect_url_with_frag = "http://bitly.com/urllibredirecttest" + redirect_url_with_frag = "http://bit.ly/1iSHToT" with support.transient_internet(redirect_url_with_frag): req = urllib.request.Request(redirect_url_with_frag) res = urllib.request.urlopen(req) self.assertEqual(res.geturl(), - "http://docs.python.org/3.4/glossary.html#term-global-interpreter-lock") + "https://docs.python.org/3.4/glossary.html#term-global-interpreter-lock") def test_custom_headers(self): url = "http://www.example.com" |