Home
last modified time | relevance | path

Searched refs:_urlopen_with_retry (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_urllib2net.py30 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) variable
81 response = _urlopen_with_retry("http://www.example.com/")
255 u = _urlopen_with_retry(url)
264 u = _urlopen_with_retry(url)
275 u = _urlopen_with_retry(url, timeout=None)
283 u = _urlopen_with_retry(url, timeout=120)
291 u = _urlopen_with_retry(self.FTP_HOST)
299 u = _urlopen_with_retry(self.FTP_HOST)
309 u = _urlopen_with_retry(self.FTP_HOST, timeout=None)
316 u = _urlopen_with_retry(self.FTP_HOST, timeout=60)
/external/python/cpython3/Lib/test/
Dtest_urllib2net.py39 _urlopen_with_retry = _wrap_with_retry_thrice(urllib.request.urlopen, variable
89 response = _urlopen_with_retry(url)
264 u = _urlopen_with_retry(url)
274 u = _urlopen_with_retry(url)
286 u = _urlopen_with_retry(url, timeout=None)
295 u = _urlopen_with_retry(url, timeout=120)
305 u = _urlopen_with_retry(self.FTP_HOST)
315 u = _urlopen_with_retry(self.FTP_HOST)
327 u = _urlopen_with_retry(self.FTP_HOST, timeout=None)
336 u = _urlopen_with_retry(self.FTP_HOST, timeout=60)