()
| 970 | |
| 971 | @dec.skip_win32 |
| 972 | def test_script_out_err(): |
| 973 | ip = get_ipython() |
| 974 | ip.run_cell_magic("script", "--out output --err error sh", "echo 'hi'\necho 'hello' >&2") |
| 975 | nt.assert_equal(ip.user_ns['output'], 'hi\n') |
| 976 | nt.assert_equal(ip.user_ns['error'], 'hello\n') |
| 977 | |
| 978 | @dec.skip_win32 |
| 979 | def test_script_bg_out(): |
nothing calls this directly
no test coverage detected