Commit 67a98778 authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.3

parents 004adb91 e71abcc7
...@@ -161,12 +161,12 @@ class OtherNetworkTests(unittest.TestCase): ...@@ -161,12 +161,12 @@ class OtherNetworkTests(unittest.TestCase):
@requires_ssl @requires_ssl
def test_urlwithfrag(self): def test_urlwithfrag(self):
urlwith_frag = "https://docs.python.org/2/glossary.html#glossary" urlwith_frag = "http://www.pythontest.net/index.html#frag"
with support.transient_internet(urlwith_frag): with support.transient_internet(urlwith_frag):
req = urllib.request.Request(urlwith_frag) req = urllib.request.Request(urlwith_frag)
res = urllib.request.urlopen(req) res = urllib.request.urlopen(req)
self.assertEqual(res.geturl(), self.assertEqual(res.geturl(),
"https://docs.python.org/2/glossary.html#glossary") "http://www.pythontest.net/index.html#frag")
@requires_ssl @requires_ssl
def test_redirect_url_withfrag(self): def test_redirect_url_withfrag(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment