Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b6b6a6d

Browse files
committed
Issue #20939: merge from 3.3
1 parent 6dfc632 commit b6b6a6d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Lib/test/test_urllibnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_info(self):
8080

8181
def test_geturl(self):
8282
# Make sure same URL as opened is returned by geturl.
83-
URL = "http://www.python.org/"
83+
URL = "https://www.python.org/"
8484
with self.urlopen(URL) as open_url:
8585
gotten_url = open_url.geturl()
8686
self.assertEqual(gotten_url, URL)

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Core and Builtins
1313
Library
1414
-------
1515

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+
1619

1720
What's New in Python 3.4.0 release candidate 3?
1821
===============================================

0 commit comments

Comments
 (0)