Home
last modified time | relevance | path

Searched refs:raise_exc (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py426 async def raise_exc(exc): function
437 stack.push_async_callback(raise_exc, IndexError)
438 stack.push_async_callback(raise_exc, KeyError)
439 stack.push_async_callback(raise_exc, AttributeError)
441 stack.push_async_callback(raise_exc, ValueError)
Dtest_contextlib.py748 def raise_exc(exc): function
759 stack.callback(raise_exc, IndexError)
760 stack.callback(raise_exc, KeyError)
761 stack.callback(raise_exc, AttributeError)
763 stack.callback(raise_exc, ValueError)
779 def raise_exc(exc): function
788 stack.callback(raise_exc, IndexError)
796 stack.callback(raise_exc, KeyError)
798 stack.callback(raise_exc, IndexError)
Dtest_abc.py453 def raise_exc(): function
457 __subclasses__ = raise_exc
Dtest_traceback.py1131 def raise_exc(): function
1139 raise_exc()