(self, exception_or_callable)
| 2315 | class BaseExceptionReportingTests: |
| 2316 | |
| 2317 | def get_exception(self, exception_or_callable): |
| 2318 | if isinstance(exception_or_callable, BaseException): |
| 2319 | return exception_or_callable |
| 2320 | try: |
| 2321 | exception_or_callable() |
| 2322 | except Exception as e: |
| 2323 | return e |
| 2324 | |
| 2325 | callable_line = get_exception.__code__.co_firstlineno + 4 |
| 2326 |
no outgoing calls
no test coverage detected