summaryrefslogtreecommitdiff
path: root/Lib/test/test_urllib2net.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-05 11:29:39 -0500
committerBenjamin Peterson <benjamin@python.org>2014-11-05 11:29:39 -0500
commite71abcc7bb0ab2d11af25d6a65db73701b58a91c (patch)
treec67474ac69bb68f9ab3e7fcff484082dca1ed27a /Lib/test/test_urllib2net.py
parent97751fa5c985055cd10e789702fdc33f0d30b8ad (diff)
parent258f3f0dc23c7721c7a9314d9aa47fa3504b3c52 (diff)
downloadcpython-git-e71abcc7bb0ab2d11af25d6a65db73701b58a91c.tar.gz
merge 3.2
Diffstat (limited to 'Lib/test/test_urllib2net.py')
-rw-r--r--Lib/test/test_urllib2net.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py
index f50a2bb220..f618ecfdad 100644
--- a/Lib/test/test_urllib2net.py
+++ b/Lib/test/test_urllib2net.py
@@ -155,12 +155,12 @@ class OtherNetworkTests(unittest.TestCase):
## self._test_urls(urls, self._extra_handlers()+[bauth, dauth])
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")
def test_custom_headers(self):
url = "http://www.example.com"