Home | History | Annotate | Download | only in test

Lines Matching defs:TIMEOUT

12 TIMEOUT = 60  # seconds

206 f = urlopen(url, req, TIMEOUT)
214 if isinstance(err[0], socket.timeout):
215 print >>sys.stderr, "<timeout: %s>" % url
224 except socket.timeout:
225 print >>sys.stderr, "<timeout: %s>" % url
244 with test_support.transient_internet(url, timeout=None):
265 u = _urlopen_with_retry(url, timeout=None)
273 u = _urlopen_with_retry(url, timeout=120)
280 with test_support.transient_internet(self.FTP_HOST, timeout=None):
299 u = _urlopen_with_retry(self.FTP_HOST, timeout=None)
306 u = _urlopen_with_retry(self.FTP_HOST, timeout=60)