Searched refs:ChannelEmptyError (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/test/support/ |
H A D | interpreters.py | 8 ChannelError, ChannelNotFoundError, ChannelEmptyError, 18 'ChannelEmptyError', 165 is provided or fail with ChannelEmptyError. Otherwise this
|
/third_party/python/Modules/ |
H A D | _xxsubinterpretersmodule.c | 293 static PyObject *ChannelEmptyError; variable 332 ChannelEmptyError = PyErr_NewException( in channel_exceptions_init() 333 "_xxsubinterpreters.ChannelEmptyError", ChannelError, NULL); in channel_exceptions_init() 334 if (ChannelEmptyError == NULL) { in channel_exceptions_init() 337 if (PyDict_SetItemString(ns, "ChannelEmptyError", ChannelEmptyError) != 0) { in channel_exceptions_init() 2444 PyErr_Format(ChannelEmptyError, "channel %" PRId64 " is empty", cid); in channel_recv() 2454 If there is nothing to receive then raise ChannelEmptyError, unless\n\
|
/third_party/python/Lib/test/ |
H A D | test_interpreters.py | 637 except interpreters.ChannelEmptyError: 725 with self.assertRaises(interpreters.ChannelEmptyError):
|
H A D | test__xxsubinterpreters.py | 251 except interpreters.ChannelEmptyError: 254 raise Exception('expected ChannelEmptyError') 1420 except interpreters.ChannelEmptyError: 1446 except _interpreters.ChannelEmptyError: 1470 with self.assertRaises(interpreters.ChannelEmptyError):
|
Completed in 8 milliseconds