(shell)
| 97 | |
| 98 | def test_magic_error_status(): |
| 99 | def fail(shell): |
| 100 | 1/0 |
| 101 | _ip.register_magic_function(fail) |
| 102 | result = _ip.run_cell('%fail') |
| 103 | assert isinstance(result.error_in_exec, ZeroDivisionError) |
nothing calls this directly
no outgoing calls
no test coverage detected