From: Benjamin Peterson Date: Mon, 31 Mar 2014 17:50:34 +0000 (-0400) Subject: use https docs url X-Git-Tag: v3.4.1rc1~149 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=809ee902c438c2b4666e990ebe1cfd9c75a2f10d;p=python use https docs url --- diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index fd667f23b4..d80e39a01b 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"