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

Function test_script_out

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

Source from the content-addressed store, hash-verified

958
959@dec.skip_win32
960def test_script_out():
961 ip = get_ipython()
962 ip.run_cell_magic("script", "--out output sh", "echo 'hi'")
963 nt.assert_equal(ip.user_ns['output'], 'hi\n')
964
965@dec.skip_win32
966def test_script_err():

Callers

nothing calls this directly

Calls 2

get_ipythonFunction · 0.90
run_cell_magicMethod · 0.80

Tested by

no test coverage detected