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

Function test_handlers_I

tests/test_handlers.py:68–79  ·  view source on GitHub ↗
(autocall, input, output)

Source from the content-addressed store, hash-verified

66 ],
67)
68def test_handlers_I(autocall, input, output):
69 autocallable = Autocallable()
70 ip.user_ns["autocallable"] = autocallable
71
72 call_idx = CallableIndexable()
73 ip.user_ns["call_idx"] = call_idx
74
75 ip.user_ns["Callable"] = Callable
76
77 ip.run_line_magic("autocall", autocall)
78 assert ip.prefilter_manager.prefilter_lines(input) == output
79 ip.run_line_magic("autocall", "1")

Callers

nothing calls this directly

Calls 4

AutocallableClass · 0.85
CallableIndexableClass · 0.85
run_line_magicMethod · 0.80
prefilter_linesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…