summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllibnet.py
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-03-15 20:14:15 (GMT)
committerNed Deily <nad@acm.org>2014-03-15 20:14:15 (GMT)
commita146df8dd609600d7d6c253b470f0ac32c324659 (patch)
tree381fb50bef2fec59c591945eaa04eb5705525288 /Lib/test/test_urllibnet.py
parentfbe50672c182daff9ae9548e8cc253ccac1dc232 (diff)
downloadcpython-a146df8dd609600d7d6c253b470f0ac32c324659.zip
cpython-a146df8dd609600d7d6c253b470f0ac32c324659.tar.gz
cpython-a146df8dd609600d7d6c253b470f0ac32c324659.tar.bz2
Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.
Diffstat (limited to 'Lib/test/test_urllibnet.py')
-rw-r--r--Lib/test/test_urllibnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py
index 7c05b09..df6d86a 100644
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -92,7 +92,7 @@ class urlopenNetworkTests(unittest.TestCase):
def test_geturl(self):
# Make sure same URL as opened is returned by geturl.
- URL = "http://www.python.org/"
+ URL = "https://www.python.org/"
open_url = self.urlopen(URL)
try:
gotten_url = open_url.geturl()