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

Function test_script_defaults

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

Source from the content-addressed store, hash-verified

1000 ip.user_ns['error'].close()
1001
1002def test_script_defaults():
1003 ip = get_ipython()
1004 for cmd in ['sh', 'bash', 'perl', 'ruby']:
1005 try:
1006 find_cmd(cmd)
1007 except Exception:
1008 pass
1009 else:
1010 nt.assert_in(cmd, ip.magics_manager.magics['cell'])
1011
1012
1013@magics_class

Callers

nothing calls this directly

Calls 2

get_ipythonFunction · 0.90
find_cmdFunction · 0.90

Tested by

no test coverage detected