MCPcopy Index your code
hub / github.com/python/cpython / raiser

Function raiser

Lib/test/test_concurrent_futures/executor.py:28–29  ·  view source on GitHub ↗
(exception, msg='std')

Source from the content-addressed store, hash-verified

26
27# Used in test_swallows_falsey_exceptions
28def raiser(exception, msg='std'):
29 raise exception(msg)
30
31
32class FalseyBoolException(Exception):

Callers

nothing calls this directly

Calls 1

exceptionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…