Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_contextlib.py754 def raise_exc(exc): function
765 stack.callback(raise_exc, IndexError)
766 stack.callback(raise_exc, KeyError)
767 stack.callback(raise_exc, AttributeError)
769 stack.callback(raise_exc, ValueError)
819 def raise_exc(exc): function
828 stack.callback(raise_exc, IndexError)
836 stack.callback(raise_exc, KeyError)
838 stack.callback(raise_exc, IndexError)
Dtest_contextlib_async.py526 async def raise_exc(exc): function
537 stack.push_async_callback(raise_exc, IndexError)
538 stack.push_async_callback(raise_exc, KeyError)
539 stack.push_async_callback(raise_exc, AttributeError)
541 stack.push_async_callback(raise_exc, ValueError)
Dtest_abc.py453 def raise_exc(): function
457 __subclasses__ = raise_exc
Dtest_traceback.py1331 def raise_exc(): function
1339 raise_exc()