]> granicus.if.org Git - python/commitdiff
use https docs url (#21115)
authorBenjamin Peterson <benjamin@python.org>
Mon, 31 Mar 2014 17:44:53 +0000 (13:44 -0400)
committerBenjamin Peterson <benjamin@python.org>
Mon, 31 Mar 2014 17:44:53 +0000 (13:44 -0400)
Lib/test/test_urllib2net.py

index e2b1d95c0456e0eec6b9d78f107ac7317e89fc36..feeaf24e8a3ff77a22ac2b31d6bd1b67996ca6f1 100644 (file)
@@ -156,12 +156,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_custom_headers(self):
         url = "http://www.example.com"