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 c2415eb + 579d5cd commit 5b9561dCopy full SHA for 5b9561d
1 file changed
Lib/test/test_urllib2net.py
@@ -157,12 +157,12 @@ def test_file(self):
157
## self._test_urls(urls, self._extra_handlers()+[bauth, dauth])
158
159
def test_urlwithfrag(self):
160
- urlwith_frag = "http://docs.python.org/glossary.html#glossary"
+ urlwith_frag = "http://docs.python.org/2/glossary.html#glossary"
161
with support.transient_internet(urlwith_frag):
162
req = urllib.request.Request(urlwith_frag)
163
res = urllib.request.urlopen(req)
164
self.assertEqual(res.geturl(),
165
- "http://docs.python.org/glossary.html#glossary")
+ "http://docs.python.org/2/glossary.html#glossary")
166
167
def test_custom_headers(self):
168
url = "http://www.example.com"
0 commit comments