[Python-checkins] cpython (3.3): Issue #20939: Fix test_geturl failure in test_urllibnet due to
ned.deily
python-checkins at python.org
Sat Mar 15 21:19:55 CET 2014
http://hg.python.org/cpython/rev/030efedd70ca
changeset: 89674:030efedd70ca
branch: 3.3
parent: 89670:7cb8faf45539
user: Ned Deily <nad at acm.org>
date: Sat Mar 15 13:15:31 2014 -0700
summary:
Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.
files:
Lib/test/test_urllibnet.py | 2 +-
Misc/NEWS | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -80,7 +80,7 @@
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)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -27,6 +27,12 @@
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
+Tests
+-----
+
+- 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.3.5?
===========================
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list