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

Method _test_not_complete

tests/test_completer.py:511–517  ·  view source on GitHub ↗
(reason, s, comp)

Source from the content-addressed store, hash-verified

509 assert Completion(start, end, comp) in completions, reason
510
511 def _test_not_complete(reason, s, comp):
512 l = len(s)
513 with provisionalcompleter():
514 ip.Completer.use_jedi = True
515 completions = set(ip.Completer.completions(s, l))
516 ip.Completer.use_jedi = False
517 assert Completion(l, l, comp) not in completions, reason
518
519 import jedi
520

Callers

nothing calls this directly

Calls 3

provisionalcompleterFunction · 0.90
CompletionClass · 0.90
completionsMethod · 0.80

Tested by

no test coverage detected