mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
typo
This commit is contained in:
@@ -65,7 +65,8 @@ def _must_be_kwarg(signatures, positional_count, used_kwargs):
|
|||||||
return must_be_kwarg
|
return must_be_kwarg
|
||||||
|
|
||||||
|
|
||||||
def filter_names(inference_state, completion_names, stack, like_name, fuzzy, imported_names, cached_name):
|
def filter_names(inference_state, completion_names, stack, like_name, fuzzy,
|
||||||
|
imported_names, cached_name):
|
||||||
comp_dct = set()
|
comp_dct = set()
|
||||||
if settings.case_insensitive_completion:
|
if settings.case_insensitive_completion:
|
||||||
like_name = like_name.lower()
|
like_name = like_name.lower()
|
||||||
|
|||||||
@@ -325,6 +325,7 @@ def test_duplicated_import(Script):
|
|||||||
s = 'from os import path as pp, p'
|
s = 'from os import path as pp, p'
|
||||||
assert 'path' not in import_names(s)
|
assert 'path' not in import_names(s)
|
||||||
|
|
||||||
|
|
||||||
def test_path_issues(Script):
|
def test_path_issues(Script):
|
||||||
"""
|
"""
|
||||||
See pull request #684 for details.
|
See pull request #684 for details.
|
||||||
|
|||||||
Reference in New Issue
Block a user