MCPcopy Create free account
hub / github.com/ipython/ipython / test_cell_magic

Function test_cell_magic

IPython/core/tests/test_inputtransformer2_line.py:18–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16""")
17
18def test_cell_magic():
19 for sample, expected in [CELL_MAGIC]:
20 nt.assert_equal(ipt2.cell_magic(sample.splitlines(keepends=True)),
21 expected.splitlines(keepends=True))
22
23CLASSIC_PROMPT = ("""\
24>>> for a in range(5):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected