mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
Issue #20939: merge from 3.3
This commit is contained in:
commit
7e7fb0374a
2 changed files with 5 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ def test_info(self):
|
|||
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -72,6 +72,10 @@ Tests
|
|||
|
||||
- Issue #20743: Fix a reference leak in test_tcl.
|
||||
|
||||
- Issue #20939: Fix test_geturl failure in test_urllibnet due to
|
||||
new redirect of http://www.python.org/ to https://www.python.org.
|
||||
|
||||
|
||||
Build
|
||||
-----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue