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

Method test_whole_cell

IPython/core/tests/test_inputsplitter.py:566–570  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

564class CellMagicsCommon(object):
565
566 def test_whole_cell(self):
567 src = "%%cellm line\nbody\n"
568 out = self.sp.transform_cell(src)
569 ref = "get_ipython().run_cell_magic('cellm', 'line', 'body')\n"
570 nt.assert_equal(out, ref)
571
572 def test_cellmagic_help(self):
573 self.sp.push('%%cellm?')

Callers

nothing calls this directly

Calls 1

transform_cellMethod · 0.45

Tested by

no test coverage detected