Home
last modified time | relevance | path

Searched refs:InvalidStateError (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dfutures.py198 raise exceptions.InvalidStateError('Result is not ready.')
216 raise exceptions.InvalidStateError('Exception is not set.')
258 raise exceptions.InvalidStateError(f'{self._state}: {self!r}')
270 raise exceptions.InvalidStateError(f'{self._state}: {self!r}')
321 elif exc_class is concurrent.futures.InvalidStateError:
322 return exceptions.InvalidStateError(*exc.args)
Dexceptions.py17 class InvalidStateError(Exception): class
Dtasks.py241 raise exceptions.InvalidStateError(
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py157 self.assertRaises(asyncio.InvalidStateError, fut.result)
160 self.assertRaises(asyncio.InvalidStateError, fut.exception)
232 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
233 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None)
238 self.assertRaises(asyncio.InvalidStateError, f.result)
245 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
246 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None)
252 self.assertRaises(asyncio.InvalidStateError, f.exception)
263 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
264 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None)
Dtest_tasks.py2873 with self.assertRaisesRegex(asyncio.InvalidStateError,
2899 with self.assertRaisesRegex(asyncio.InvalidStateError,
/external/python/cpython3/Doc/library/
Dasyncio-future.rst107 a :exc:`InvalidStateError` exception.
113 Raises a :exc:`InvalidStateError` error if the Future is
120 Raises a :exc:`InvalidStateError` error if the Future is
195 :exc:`InvalidStateError` exception.
251 raise an :exc:`InvalidStateError` exception when the Future is not
Dasyncio-exceptions.rst36 .. exception:: InvalidStateError
Dconcurrent.futures.rst416 :exc:`concurrent.futures.InvalidStateError` if the :class:`Future` is
429 :exc:`concurrent.futures.InvalidStateError` if the :class:`Future` is
510 .. exception:: InvalidStateError
Dasyncio-task.rst878 a :exc:`InvalidStateError` exception.
892 :exc:`InvalidStateError` exception.
/external/python/cpython3/Lib/concurrent/futures/
D__init__.py13 InvalidStateError,
D_base.py57 class InvalidStateError(Error): class
525 raise InvalidStateError('{}: {!r}'.format(self._state, self))
540 raise InvalidStateError('{}: {!r}'.format(self._state, self))
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/
DHistory.md47 …* [Throw InvalidStateError when calling play() on reversed infinite animation.](https://github.com…
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py1473 futures.InvalidStateError,
1488 futures.InvalidStateError,
/external/python/cpython3/Misc/NEWS.d/
D3.8.0b1.rst721 asyncio.InvalidStateError from their concurrent.futures.* counterparts.
D3.8.0a1.rst3274 Create a dedicated ``asyncio.CancelledError``, ``asyncio.InvalidStateError``
4556 Add ``InvalidStateError`` to :mod:`concurrent.futures`.
4558 ``InvalidStateError`` if the futures are not pending or running. Patch by