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

Function ipython_with_prompt

tests/test_shortcuts.py:387–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

385
386@pytest.fixture
387def ipython_with_prompt():
388 ip = get_ipython()
389 ip.pt_app = Mock()
390 ip.pt_app.key_bindings = create_ipython_shortcuts(ip)
391 try:
392 yield ip
393 finally:
394 ip.pt_app = None
395
396
397def find_bindings_by_command(command):

Callers

nothing calls this directly

Calls 2

create_ipython_shortcutsFunction · 0.90
get_ipythonFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…