From: Ned Deily Date: Sat, 15 Mar 2014 20:15:31 +0000 (-0700) Subject: Issue #20939: Fix test_geturl failure in test_urllibnet due to X-Git-Tag: v3.4.1rc1~233^2~9^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b454742c64872fdb41d9c13a485711fbd849a4c9;p=python Issue #20939: Fix test_geturl failure in test_urllibnet due to new redirect of http://www.python.org/ to https://www.python.org. --- diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 38afb69250..31b61f1e51 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) diff --git a/Misc/NEWS b/Misc/NEWS index 253c850b5a..2b455e79f8 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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? ===========================