diff options
| author | Ned Deily <nad@acm.org> | 2014-03-15 20:14:15 (GMT) |
|---|---|---|
| committer | Ned Deily <nad@acm.org> | 2014-03-15 20:14:15 (GMT) |
| commit | a146df8dd609600d7d6c253b470f0ac32c324659 (patch) | |
| tree | 381fb50bef2fec59c591945eaa04eb5705525288 /Lib/test/test_urllibnet.py | |
| parent | fbe50672c182daff9ae9548e8cc253ccac1dc232 (diff) | |
| download | cpython-a146df8dd609600d7d6c253b470f0ac32c324659.zip cpython-a146df8dd609600d7d6c253b470f0ac32c324659.tar.gz cpython-a146df8dd609600d7d6c253b470f0ac32c324659.tar.bz2 | |
Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.
Diffstat (limited to 'Lib/test/test_urllibnet.py')
| -rw-r--r-- | Lib/test/test_urllibnet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 7c05b09..df6d86a 100644 --- a/Lib/test/test_urllibnet.py +++ b/Lib/test/test_urllibnet.py @@ -92,7 +92,7 @@ class urlopenNetworkTests(unittest.TestCase): def test_geturl(self): # Make sure same URL as opened is returned by geturl. - URL = "http://www.python.org/" + URL = "https://www.python.org/" open_url = self.urlopen(URL) try: gotten_url = open_url.geturl() |
