Added file fuzzy match and refactored

This commit is contained in:
Johannes Maria Frank
2019-10-22 15:50:16 +01:00
parent 2653752f9c
commit f7fae4dde7
8 changed files with 44 additions and 23 deletions

View File

@@ -268,7 +268,7 @@ def test_file_path_completions(Script, file, code, column, expected):
else:
assert [c.complete for c in comps] == expected
from jedi.api.completion import start_match, fuzzy_match
from jedi.api.helpers import start_match, fuzzy_match
def test_start_match():
assert start_match('Condition', 'C')