MCPcopy Index your code
hub / github.com/ipython/ipython / check_line_split

Function check_line_split

tests/test_completer.py:209–214  ·  view source on GitHub ↗
(splitter, test_specs)

Source from the content-addressed store, hash-verified

207
208
209def check_line_split(splitter, test_specs):
210 for part1, part2, split in test_specs:
211 cursor_pos = len(part1)
212 line = part1 + part2
213 out = splitter.split_line(line, cursor_pos)
214 assert out == split
215
216
217def 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…