summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-03-15 20:15:31 (GMT)
committerNed Deily <nad@acm.org>2014-03-15 20:15:31 (GMT)
commitb454742c64872fdb41d9c13a485711fbd849a4c9 (patch)
tree1833006bda07ff7f67fbf3e588c63e31ece832e4 /Lib
parent51281736d90e59d7b08cae2f2244005c918cb1c1 (diff)
downloadcpython-b454742c64872fdb41d9c13a485711fbd849a4c9.zip
cpython-b454742c64872fdb41d9c13a485711fbd849a4c9.tar.gz
cpython-b454742c64872fdb41d9c13a485711fbd849a4c9.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')
-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 38afb69..31b61f1 100644
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -80,7 +80,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/"
with self.urlopen(URL) as open_url:
gotten_url = open_url.geturl()
self.assertEqual(gotten_url, URL)