diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-03-31 17:44:53 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-03-31 17:44:53 (GMT) |
commit | b4be376d16cba52c91afc5a9dc8ff36ae96e26d9 (patch) | |
tree | 40edea173b18dc85032e25b5435843f1db2c421b /Lib | |
parent | 8aef28a5d03cee6da9c41885b40d36d7e1a9be79 (diff) | |
download | cpython-b4be376d16cba52c91afc5a9dc8ff36ae96e26d9.zip cpython-b4be376d16cba52c91afc5a9dc8ff36ae96e26d9.tar.gz cpython-b4be376d16cba52c91afc5a9dc8ff36ae96e26d9.tar.bz2 |
use https docs url (#21115)
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 e2b1d95..feeaf24 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -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" |