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

Function test_classic_prompt

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

Source from the content-addressed store, hash-verified

39""")
40
41def test_classic_prompt():
42 for sample, expected in [CLASSIC_PROMPT, CLASSIC_PROMPT_L2]:
43 nt.assert_equal(ipt2.classic_prompt(sample.splitlines(keepends=True)),
44 expected.splitlines(keepends=True))
45
46IPYTHON_PROMPT = ("""\
47In [1]: for a in range(5):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected