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

Function check_transform

IPython/core/tests/test_inputtransformer2.py:165–168  ·  view source on GitHub ↗
(transformer_cls, case)

Source from the content-addressed store, hash-verified

163 nt.assert_is(res, None)
164
165def check_transform(transformer_cls, case):
166 lines, start, expected = case
167 transformer = transformer_cls(start)
168 nt.assert_equal(transformer.transform(lines), expected)
169
170def test_continued_line():
171 lines = MULTILINE_MAGIC_ASSIGN[0]

Callers 4

test_transform_autocallFunction · 0.85

Calls 1

transformMethod · 0.45

Tested by

no test coverage detected