summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-05 16:31:02 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-11-05 16:31:02 (GMT)
commit141579c8868c1ed2482c2a485e7c6367724cb505 (patch)
tree21cdf03df634a550a740fc295948581aa58f003e /Lib
parent3f4d59eb21e62be6ba8c2e5886e9fa8756e2601a (diff)
parent1d83002748e9e82841e8cd2054c5780d76a0ee69 (diff)
downloadcpython-141579c8868c1ed2482c2a485e7c6367724cb505.zip
cpython-141579c8868c1ed2482c2a485e7c6367724cb505.tar.gz
cpython-141579c8868c1ed2482c2a485e7c6367724cb505.tar.bz2
merge 3.4
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_urllib2net.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py
index 6f78cea..2b65e8f 100644
--- a/Lib/test/test_urllib2net.py
+++ b/Lib/test/test_urllib2net.py
@@ -159,14 +159,13 @@ class OtherNetworkTests(unittest.TestCase):
## self._test_urls(urls, self._extra_handlers()+[bauth, dauth])
- @requires_ssl
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):
req = urllib.request.Request(urlwith_frag)
res = urllib.request.urlopen(req)
self.assertEqual(res.geturl(),
- "https://docs.python.org/2/glossary.html#glossary")
+ "http://www.pythontest.net/index.html#frag")
@requires_ssl
def test_redirect_url_withfrag(self):