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

Method _test_not_complete

IPython/core/tests/test_completer.py:404–410  ·  view source on GitHub ↗
(reason, s, comp)

Source from the content-addressed store, hash-verified

402 assert_in(Completion(start, end, comp), completions, reason)
403
404 def _test_not_complete(reason, s, comp):
405 l = len(s)
406 with provisionalcompleter():
407 ip.Completer.use_jedi = True
408 completions = set(ip.Completer.completions(s, l))
409 ip.Completer.use_jedi = False
410 assert_not_in(Completion(l, l, comp), completions, reason)
411
412 import jedi
413

Callers

nothing calls this directly

Calls 3

provisionalcompleterFunction · 0.90
CompletionClass · 0.90
completionsMethod · 0.80

Tested by

no test coverage detected