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

Function test_leading_indent

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

Source from the content-addressed store, hash-verified

83""")
84
85def test_leading_indent():
86 for sample, expected in [INDENT_SPACES, INDENT_TABS]:
87 nt.assert_equal(ipt2.leading_indent(sample.splitlines(keepends=True)),
88 expected.splitlines(keepends=True))
89
90LEADING_EMPTY_LINES = ("""\
91 \t

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected