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

Method assert_no_completion

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

Source from the content-addressed store, hash-verified

878 ip.user_ns["get"] = lambda: d
879
880 def assert_no_completion(**kwargs):
881 _, matches = complete(**kwargs)
882 nt.assert_not_in("abc", matches)
883 nt.assert_not_in("abc'", matches)
884 nt.assert_not_in("abc']", matches)
885 nt.assert_not_in("'abc'", matches)
886 nt.assert_not_in("'abc']", matches)
887
888 def assert_completion(**kwargs):
889 _, matches = complete(**kwargs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected