Home
last modified time | relevance | path

Searched refs:TimeoutError (Results 1 - 25 of 45) sorted by relevance

12

/third_party/python/Lib/test/test_asyncio/
H A Dtest_timeouts.py17 with self.assertRaises(TimeoutError):
25 with self.assertRaises(TimeoutError):
35 with self.assertRaises(TimeoutError):
38 # Only the topmost context manager should raise TimeoutError
52 with self.assertRaises(TimeoutError):
100 with self.assertRaises(TimeoutError):
112 with self.assertRaises(TimeoutError):
124 with self.assertRaises(TimeoutError):
158 with self.assertRaises(TimeoutError):
168 with self.assertRaises(TimeoutError)
[all...]
H A Dtest_waitfor.py57 except asyncio.TimeoutError:
85 with self.assertRaises(asyncio.TimeoutError):
114 with self.assertRaises(asyncio.TimeoutError):
140 with self.assertRaises(asyncio.TimeoutError):
190 with self.assertRaises(asyncio.TimeoutError) as cm:
215 with self.assertRaises(asyncio.TimeoutError) as cm:
H A Dfunctional.py246 except TimeoutError:
H A Dtest_sslproto.py495 with self.assertRaises(asyncio.TimeoutError):
638 with self.assertRaises(asyncio.TimeoutError):
H A Dtest_ssl.py491 with self.assertRaises(asyncio.TimeoutError):
949 with self.assertRaises(asyncio.TimeoutError):
1442 except (ConnectionRefusedError, asyncio.TimeoutError):
1445 self.fail('TimeoutError is not raised')
1471 except (ConnectionRefusedError, asyncio.TimeoutError):
1474 self.fail('TimeoutError is not raised')
H A Dutils.py117 raise futures.TimeoutError()
/third_party/python/Lib/asyncio/
H A Dexceptions.py5 'CancelledError', 'InvalidStateError', 'TimeoutError',
14 TimeoutError = TimeoutError # make local alias for the standard exception variable
H A Dstaggered.py86 with contextlib.suppress(exceptions_mod.TimeoutError):
H A Dfutures.py322 elif exc_class is concurrent.futures.TimeoutError:
323 return exceptions.TimeoutError(*exc.args)
H A Dtasks.py402 Note: This does not raise TimeoutError! Futures that aren't done
432 it cancels the task and raises TimeoutError. To avoid the task
454 raise exceptions.TimeoutError() from exc
492 raise exceptions.TimeoutError() from exc
572 TimeoutError when the timeout occurs before all Futures are done.
604 raise exceptions.TimeoutError
H A Dtimeouts.py111 raise TimeoutError from exc_val
139 into TimeoutError.
162 into TimeoutError.
/third_party/python/Lib/concurrent/futures/
H A D_base.py53 TimeoutError = TimeoutError # make local alias for the standard exception variable
214 TimeoutError: If the entire result iterator could not be generated
239 raise TimeoutError(
440 TimeoutError: If the future didn't finish executing before the given
458 raise TimeoutError()
477 TimeoutError: If the future didn't finish executing before the given
494 raise TimeoutError()
601 TimeoutError: If the entire result iterator could not be generated
H A D__init__.py12 TimeoutError,
25 'TimeoutError',
/third_party/python/Doc/includes/
H A Dmp_pool.py132 except multiprocessing.TimeoutError:
145 except multiprocessing.TimeoutError:
/third_party/python/Lib/multiprocessing/
H A Dcontext.py20 class TimeoutError(ProcessError): class
34 TimeoutError = TimeoutError variable in BaseContext
H A Dpool.py29 from . import get_context, TimeoutError namespace
770 raise TimeoutError
868 raise TimeoutError from None
/third_party/python/Lib/test/
H A Dtest_concurrent_futures.py769 except futures.TimeoutError:
794 with self.assertRaises(futures.TimeoutError):
816 with self.assertRaises(futures.TimeoutError) as cm:
864 except futures.TimeoutError:
867 self.fail('expected TimeoutError')
980 with self.assertRaises(TimeoutError):
985 # ident='second' is cancelled as a result of raising a TimeoutError
1269 except futures.TimeoutError:
1549 self.assertRaises(futures.TimeoutError,
1551 self.assertRaises(futures.TimeoutError,
[all...]
H A Dtest_timeout.py122 The method is run at most `count` times and must raise a TimeoutError
131 except TimeoutError as e:
135 self.fail('TimeoutError was not raised')
204 except TimeoutError:
H A Dtest_exception_hierarchy.py46 self.assertIs(socket.timeout, TimeoutError)
68 +-- TimeoutError ETIMEDOUT
H A Dtest_socket.py1638 self.assertRaises(TimeoutError, c.sendall,
3036 except TimeoutError:
3044 self.fail("TimeoutError not raised")
3179 self.assertRaises(TimeoutError,
4897 self.assertRaises(TimeoutError, self.read_file.read, 1)
5162 raise TimeoutError('timed out')
5230 except TimeoutError:
5236 self.fail('TimeoutError not raised')
5338 self.assertRaises(TimeoutError, lambda: sock.recv(5))
5347 self.assertRaises(TimeoutError, raise_timeou
[all...]
H A Dtest_telnetlib.py22 except TimeoutError:
H A Dtest_urllib2net.py275 except TimeoutError:
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DErrors.h43 static Napi::Error TimeoutError(Napi::Env);
H A DErrors.cpp36 constexpr char kTimeoutError[] = "TimeoutError";
127 Napi::Error Errors::TimeoutError(Napi::Env env) { in TimeoutError() function in wgpu::binding::Errors
/third_party/python/Lib/test/support/
H A Dsocket_helper.py231 if (isinstance(err, TimeoutError) or
237 ("TimeoutError" in err.reason) or

Completed in 23 milliseconds

12