This commit is contained in:
wutingjia
2024-10-16 11:38:04 +08:00
parent cbf6f8fc7d
commit 8f3292a4d6
2 changed files with 3 additions and 1 deletions

View File

@@ -65,7 +65,8 @@ def _must_be_kwarg(signatures, positional_count, used_kwargs):
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()
if settings.case_insensitive_completion:
like_name = like_name.lower()

View File

@@ -325,6 +325,7 @@ def test_duplicated_import(Script):
s = 'from os import path as pp, p'
assert 'path' not in import_names(s)
def test_path_issues(Script):
"""
See pull request #684 for details.