Test %magic
()
| 316 | |
| 317 | |
| 318 | def test_magic_magic(): |
| 319 | """Test %magic""" |
| 320 | ip = get_ipython() |
| 321 | with capture_output() as captured: |
| 322 | ip.magic("magic") |
| 323 | |
| 324 | stdout = captured.stdout |
| 325 | nt.assert_in('%magic', stdout) |
| 326 | nt.assert_in('IPython', stdout) |
| 327 | nt.assert_in('Available', stdout) |
| 328 | |
| 329 | |
| 330 | @dec.skipif_not_numpy |
nothing calls this directly
no test coverage detected