(obj)
| 76 | |
| 77 | |
| 78 | def _is_exception(obj): |
| 79 | return ( |
| 80 | isinstance(obj, BaseException) or |
| 81 | isinstance(obj, type) and issubclass(obj, BaseException) |
| 82 | ) |
| 83 | |
| 84 | |
| 85 | def _extract_mock(obj): |
no outgoing calls
no test coverage detected
searching dependent graphs…