We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aef28a commit b4be376Copy full SHA for b4be376
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 = "http://docs.python.org/2/glossary.html#glossary"
+ urlwith_frag = "https://docs.python.org/2/glossary.html#glossary"
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
- "http://docs.python.org/2/glossary.html#glossary")
+ "https://docs.python.org/2/glossary.html#glossary")
165
166
def test_custom_headers(self):
167
url = "http://www.example.com"
0 commit comments