Searched refs:_urlopen_with_retry (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_urllib2net.py | 30 _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/ |
D | test_urllib2net.py | 38 _urlopen_with_retry = _wrap_with_retry_thrice(urllib.request.urlopen, variable 91 response = _urlopen_with_retry(url) 270 u = _urlopen_with_retry(url) 280 u = _urlopen_with_retry(url) 292 u = _urlopen_with_retry(url, timeout=None) 301 u = _urlopen_with_retry(url, timeout=120) 311 u = _urlopen_with_retry(self.FTP_HOST) 321 u = _urlopen_with_retry(self.FTP_HOST) 333 u = _urlopen_with_retry(self.FTP_HOST, timeout=None) 342 u = _urlopen_with_retry(self.FTP_HOST, timeout=60)
|