MCPcopy Create free account
hub / github.com/bpython/bpython / completer

Function completer

bpython/test/test_autocomplete.py:41–44  ·  view source on GitHub ↗
(matches)

Source from the content-addressed store, hash-verified

39
40
41def completer(matches):
42 mock_completer = autocomplete.BaseCompletionType()
43 mock_completer.matches = mock.Mock(return_value=matches)
44 return mock_completer
45
46
47class TestGetCompleter(unittest.TestCase):

Calls

no outgoing calls

Tested by

no test coverage detected