@dec.skip_win32
def test_script_out():
    ip = get_ipython()
    ip.run_cell_magic('script', '--out output sh', "echo 'hi'")
    nt.assert_equal(ip.user_ns['output'], 'hi\n')
@dec.skip_win32
def test_script_out():
    ip = get_ipython()
    ip.run_cell_magic('script', '--out output sh', "echo 'hi'")
    nt.assert_equal(ip.user_ns['output'], 'hi\n')