Skip to content

Commit 258f3f0

Browse files
committed
use pythontest.net for url fragment test
1 parent 863c962 commit 258f3f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_urllib2net.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@ def test_file(self):
156156
## self._test_urls(urls, self._extra_handlers()+[bauth, dauth])
157157

158158
def test_urlwithfrag(self):
159-
urlwith_frag = "https://docs.python.org/2/glossary.html#glossary"
159+
urlwith_frag = "http://www.pythontest.net/index.html#frag"
160160
with support.transient_internet(urlwith_frag):
161161
req = urllib.request.Request(urlwith_frag)
162162
res = urllib.request.urlopen(req)
163163
self.assertEqual(res.geturl(),
164-
"https://docs.python.org/2/glossary.html#glossary")
164+
"http://www.pythontest.net/index.html#frag")
165165

166166
def test_custom_headers(self):
167167
url = "http://www.example.com"

0 commit comments

Comments
 (0)