Commit a146df8d authored by Ned Deily's avatar Ned Deily

Issue #20939: Fix test_geturl failure in test_urllibnet due to

new redirect of http://www.python.org/ to https://www.python.org.
parent fbe50672
......@@ -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()
......
......@@ -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
-------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment