summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-05 16:27:14 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-11-05 16:27:14 (GMT)
commit258f3f0dc23c7721c7a9314d9aa47fa3504b3c52 (patch)
tree238749e14a80f7eb1746e78031ce868c8c03237f /Lib
parent863c962e68417f74a4671de58725170fc91c3910 (diff)
downloadcpython-258f3f0dc23c7721c7a9314d9aa47fa3504b3c52.zip
cpython-258f3f0dc23c7721c7a9314d9aa47fa3504b3c52.tar.gz
cpython-258f3f0dc23c7721c7a9314d9aa47fa3504b3c52.tar.bz2
use pythontest.net for url fragment test
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/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 2c832e1..f2d20c0 100755
--- a/Lib/test/test_urllib2net.py
+++ b/Lib/test/test_urllib2net.py
@@ -156,12 +156,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"