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

Function test_misc_no_jedi_completions

tests/test_completer.py:2833–2840  ·  view source on GitHub ↗
(setup, code, expected, not_expected)

Source from the content-addressed store, hash-verified

2831 ],
2832)
2833def test_misc_no_jedi_completions(setup, code, expected, not_expected):
2834 ip = get_ipython()
2835 c = ip.Completer
2836 ip.ex(setup)
2837 with provisionalcompleter(), jedi_status(False):
2838 matches = c.all_completions(code)
2839 assert set(expected) - set(matches) == set(), set(matches)
2840 assert set(matches).intersection(set(not_expected)) == set()
2841
2842
2843@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 5

get_ipythonFunction · 0.90
provisionalcompleterFunction · 0.90
jedi_statusFunction · 0.85
exMethod · 0.80
all_completionsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…