mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Issue #20939: merge from 3.3
This commit is contained in:
parent
6dfc632f1f
commit
b6b6a6d587
2 changed files with 4 additions and 1 deletions
|
@ -80,7 +80,7 @@ class urlopenNetworkTests(unittest.TestCase):
|
||||||
|
|
||||||
def test_geturl(self):
|
def test_geturl(self):
|
||||||
# Make sure same URL as opened is returned by geturl.
|
# 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:
|
with self.urlopen(URL) as open_url:
|
||||||
gotten_url = open_url.geturl()
|
gotten_url = open_url.geturl()
|
||||||
self.assertEqual(gotten_url, URL)
|
self.assertEqual(gotten_url, URL)
|
||||||
|
|
|
@ -13,6 +13,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- 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.4.0 release candidate 3?
|
What's New in Python 3.4.0 release candidate 3?
|
||||||
===============================================
|
===============================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue