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

Function test_cell_magic_reg

tests/test_magic.py:1231–1238  ·  view source on GitHub ↗

Cell magic manually registered

(underscore_not_in_builtins)

Source from the content-addressed store, hash-verified

1229
1230
1231def test_cell_magic_reg(underscore_not_in_builtins):
1232 "Cell magic manually registered"
1233
1234 def cellm(line, cell):
1235 return line, cell
1236
1237 _ip.register_magic_function(cellm, "cell", "cellm2")
1238 check_ident("cellm2")
1239
1240
1241def test_cell_magic_class(underscore_not_in_builtins):

Callers

nothing calls this directly

Calls 2

check_identFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…