

def trycompletions(self, inputstring, immediate='', choices=(), other_choices_ok=False, split_completed_lines=True):
    try:
        self._trycompletions_inner(inputstring, immediate, choices, other_choices_ok=other_choices_ok, split_completed_lines=split_completed_lines)
    finally:
        self.cqlsh.send(CTRL_C)
        self.cqlsh.read_to_next_prompt()

dataset/ETHPy150Open francelabs/datafari/cassandra/pylib/cqlshlib/test/test_cqlsh_completion.py CqlshCompletionCase.trycompletions/original