Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 863c962 commit 258f3f0Copy full SHA for 258f3f0
1 file changed
Lib/test/test_urllib2net.py
@@ -156,12 +156,12 @@ def test_file(self):
156
## self._test_urls(urls, self._extra_handlers()+[bauth, dauth])
157
158
def test_urlwithfrag(self):
159
- urlwith_frag = "https://docs.python.org/2/glossary.html#glossary"
+ urlwith_frag = "http://www.pythontest.net/index.html#frag"
160
with support.transient_internet(urlwith_frag):
161
req = urllib.request.Request(urlwith_frag)
162
res = urllib.request.urlopen(req)
163
self.assertEqual(res.geturl(),
164
- "https://docs.python.org/2/glossary.html#glossary")
+ "http://www.pythontest.net/index.html#frag")
165
166
def test_custom_headers(self):
167
url = "http://www.example.com"
0 commit comments