Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dfc632 commit b6b6a6dCopy full SHA for b6b6a6d
2 files changed
Lib/test/test_urllibnet.py
@@ -80,7 +80,7 @@ def test_info(self):
80
81
def test_geturl(self):
82
# Make sure same URL as opened is returned by geturl.
83
- URL = "http://www.python.org/"
+ URL = "https://www.python.org/"
84
with self.urlopen(URL) as open_url:
85
gotten_url = open_url.geturl()
86
self.assertEqual(gotten_url, URL)
Misc/NEWS
@@ -13,6 +13,9 @@ Core and Builtins
13
Library
14
-------
15
16
+- Issue #20939: Fix test_geturl failure in test_urllibnet due to
17
+ new redirect of http://www.python.org/ to https://www.python.org.
18
+
19
20
What's New in Python 3.4.0 release candidate 3?
21
===============================================
0 commit comments