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

Function test_LineInfo

IPython/core/tests/test_splitinput.py:35–38  ·  view source on GitHub ↗

Simple test for LineInfo construction and str()

()

Source from the content-addressed store, hash-verified

33 return tt.check_pairs(split_user_input, tests)
34
35def test_LineInfo():
36 """Simple test for LineInfo construction and str()"""
37 linfo = LineInfo(' %cd /home')
38 nt.assert_equal(str(linfo), 'LineInfo [ |%|cd|/home]')

Callers

nothing calls this directly

Calls 1

LineInfoClass · 0.90

Tested by

no test coverage detected