Searched refs:raise_exc (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/test/ |
D | test_contextlib.py | 754 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)
|
D | test_contextlib_async.py | 526 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)
|
D | test_abc.py | 453 def raise_exc(): function 457 __subclasses__ = raise_exc
|
D | test_traceback.py | 1331 def raise_exc(): function 1339 raise_exc()
|