Test '%reset array' functionality
()
| 328 | |
| 329 | @dec.skipif_not_numpy |
| 330 | def test_numpy_reset_array_undec(): |
| 331 | "Test '%reset array' functionality" |
| 332 | _ip.ex("import numpy as np") |
| 333 | _ip.ex("a = np.empty(2)") |
| 334 | assert "a" in _ip.user_ns |
| 335 | _ip.run_line_magic("reset", "-f array") |
| 336 | assert "a" not in _ip.user_ns |
| 337 | |
| 338 | |
| 339 | @pytest.fixture() |
nothing calls this directly
no test coverage detected
searching dependent graphs…