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

Method assert_completion

IPython/core/tests/test_completer.py:888–891  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

886 nt.assert_not_in("'abc']", matches)
887
888 def assert_completion(**kwargs):
889 _, matches = complete(**kwargs)
890 nt.assert_in("'abc'", matches)
891 nt.assert_not_in("'abc']", matches)
892
893 # no completion after string closed, even if reopened
894 assert_no_completion(line_buffer="d['a'")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected