diff options
author | Ned Deily <nad@acm.org> | 2014-03-15 20:15:31 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2014-03-15 20:15:31 (GMT) |
commit | b454742c64872fdb41d9c13a485711fbd849a4c9 (patch) | |
tree | 1833006bda07ff7f67fbf3e588c63e31ece832e4 | |
parent | 51281736d90e59d7b08cae2f2244005c918cb1c1 (diff) | |
download | cpython-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.
-rw-r--r-- | Lib/test/test_urllibnet.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 6 |
2 files changed, 7 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) @@ -27,6 +27,12 @@ Library as documented. The pattern and source keyword parameters are left as deprecated aliases. +Tests +----- + +- Issue #20939: Fix test_geturl failure in test_urllibnet due to + new redirect of http://www.python.org/ to https://www.python.org. + What's New in Python 3.3.5? =========================== |