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

Function test_continued_line

IPython/core/tests/test_inputtransformer2.py:170–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 nt.assert_equal(transformer.transform(lines), expected)
169
170def test_continued_line():
171 lines = MULTILINE_MAGIC_ASSIGN[0]
172 nt.assert_equal(ipt2.find_end_of_continued_line(lines, 1), 2)
173
174 nt.assert_equal(ipt2.assemble_continued_line(lines, (1, 5), 2), "foo bar")
175
176def test_find_assign_magic():
177 check_find(ipt2.MagicAssign, MULTILINE_MAGIC_ASSIGN)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected