MCPcopy Create free account
hub / github.com/ipython/ipython / test_script_err

Function test_script_err

IPython/core/tests/test_magic.py:966–969  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

964
965@dec.skip_win32
966def test_script_err():
967 ip = get_ipython()
968 ip.run_cell_magic("script", "--err error sh", "echo 'hello' >&2")
969 nt.assert_equal(ip.user_ns['error'], 'hello\n')
970
971@dec.skip_win32
972def test_script_out_err():

Callers

nothing calls this directly

Calls 2

get_ipythonFunction · 0.90
run_cell_magicMethod · 0.80

Tested by

no test coverage detected