Erroneous magic function calls, issue gh-3334
()
| 445 | ip.run_cell("%time None") |
| 446 | |
| 447 | def test_time3(): |
| 448 | """Erroneous magic function calls, issue gh-3334""" |
| 449 | ip = get_ipython() |
| 450 | ip.user_ns.pop('run', None) |
| 451 | |
| 452 | with tt.AssertNotPrints("not found", channel='stderr'): |
| 453 | ip.run_cell("%%time\n" |
| 454 | "run = 0\n" |
| 455 | "run += 1") |
| 456 | |
| 457 | def test_multiline_time(): |
| 458 | """Make sure last statement from time return a value.""" |
nothing calls this directly
no test coverage detected