From: Ned Deily Date: Sat, 15 Mar 2014 20:14:15 +0000 (-0700) Subject: Issue #20939: Fix test_geturl failure in test_urllibnet due to X-Git-Tag: v2.7.7rc1~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a146df8dd609600d7d6c253b470f0ac32c324659;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 7c05b0977b..df6d86af0c 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() diff --git a/Misc/NEWS b/Misc/NEWS index 4e915f5f9e..99a6cf1535 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -316,6 +316,9 @@ Tests - Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust. +- Issue #20939: Fix test_geturl failure in test_urllibnet due to + new redirect of http://www.python.org/ to https://www.python.org. + Documentation -------------