MCPcopy Index your code
hub / github.com/ipython/ipython / test_script_defaults

Function test_script_defaults

tests/test_magic.py:1567–1575  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1565
1566
1567def test_script_defaults():
1568 ip = get_ipython()
1569 for cmd in ["sh", "bash", "perl", "ruby"]:
1570 try:
1571 find_cmd(cmd)
1572 except Exception:
1573 pass
1574 else:
1575 assert cmd in ip.magics_manager.magics["cell"]
1576
1577
1578@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

get_ipythonFunction · 0.90
find_cmdFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…