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

Function test_extract_hist_ranges_empty_str

tests/test_history.py:208–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206
207
208def test_extract_hist_ranges_empty_str():
209 instr = ""
210 expected = [(0, 1, None)] # 0 == current session, None == to end
211 actual = list(extract_hist_ranges(instr))
212 assert actual == expected
213
214
215@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

extract_hist_rangesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…