mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Merge branch 'improve-type-annotation-inference' of https://github.com/PeterJCLaw/jedi
This commit is contained in:
@@ -340,8 +340,14 @@ def test_math_fuzzy_completion(Script, environment):
|
||||
def test_file_fuzzy_completion(Script):
|
||||
path = os.path.join(test_dir, 'completion')
|
||||
script = Script('"{}/ep08_i'.format(path))
|
||||
assert ['pep0484_basic.py"', 'pep0484_typing.py"'] \
|
||||
== [comp.name for comp in script.complete(fuzzy=True)]
|
||||
expected = [
|
||||
'pep0484_basic.py"',
|
||||
'pep0484_generic_mismatches.py"',
|
||||
'pep0484_generic_parameters.py"',
|
||||
'pep0484_generic_passthroughs.py"',
|
||||
'pep0484_typing.py"',
|
||||
]
|
||||
assert expected == [comp.name for comp in script.complete(fuzzy=True)]
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user