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

Function test_cell_magic_func_deco

tests/test_magic.py:1221–1228  ·  view source on GitHub ↗

Cell magic using simple decorator

(underscore_not_in_builtins)

Source from the content-addressed store, hash-verified

1219
1220
1221def test_cell_magic_func_deco(underscore_not_in_builtins):
1222 "Cell magic using simple decorator"
1223
1224 @register_cell_magic
1225 def cellm(line, cell):
1226 return line, cell
1227
1228 check_ident("cellm")
1229
1230
1231def test_cell_magic_reg(underscore_not_in_builtins):

Callers

nothing calls this directly

Calls 1

check_identFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…