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.
2 parents 97751fa + 258f3f0 commit e71abccCopy full SHA for e71abcc
1 file changed
Lib/test/test_urllib2net.py
@@ -155,12 +155,12 @@ def test_file(self):
155
## self._test_urls(urls, self._extra_handlers()+[bauth, dauth])
156
157
def test_urlwithfrag(self):
158
- urlwith_frag = "https://docs.python.org/2/glossary.html#glossary"
+ urlwith_frag = "http://www.pythontest.net/index.html#frag"
159
with support.transient_internet(urlwith_frag):
160
req = urllib.request.Request(urlwith_frag)
161
res = urllib.request.urlopen(req)
162
self.assertEqual(res.geturl(),
163
- "https://docs.python.org/2/glossary.html#glossary")
+ "http://www.pythontest.net/index.html#frag")
164
165
def test_custom_headers(self):
166
url = "http://www.example.com"
0 commit comments