Lines Matching refs:urlopen
34 _urlopen_with_retry = _wrap_with_retry_thrice(urllib.request.urlopen,
92 # self.fail("urlopen() should have failed with 401")
107 # urllib2.urlopen, "http://evil:thing@example.com")
161 self.assertRaises(ValueError, urllib.request.urlopen,'./relative_path/to/file')
195 res = urllib.request.urlopen(req)
203 res = urllib.request.urlopen(req)
229 with urllib.request.urlopen(URL) as res:
232 self.fail("urlopen failed for site not sending \
237 req = urllib.request.urlopen(URL)
246 urlopen = urllib.request.build_opener(*handlers).open
248 urlopen = _wrap_with_retry_thrice(urlopen, urllib.error.URLError)
259 f = urlopen(url, req, support.INTERNET_TIMEOUT)