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

Function check_line_split

IPython/core/tests/test_completer.py:89–94  ·  view source on GitHub ↗
(splitter, test_specs)

Source from the content-addressed store, hash-verified

87
88
89def check_line_split(splitter, test_specs):
90 for part1, part2, split in test_specs:
91 cursor_pos = len(part1)
92 line = part1 + part2
93 out = splitter.split_line(line, cursor_pos)
94 nt.assert_equal(out, split)
95
96
97def test_line_split():

Callers 2

test_line_splitFunction · 0.85
test_spacesMethod · 0.85

Calls 1

split_lineMethod · 0.80

Tested by

no test coverage detected