mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
dicts should not be used to check against in get_defined_names, because they cannot contain a defined name (lists and tuples can) so just ignore them., fixes #417
This commit is contained in:
@@ -227,7 +227,7 @@ def test_no_signature():
|
||||
assert len(Script(s, column=2).call_signatures()) == 1
|
||||
|
||||
|
||||
def test_dicts():
|
||||
def test_dict_literal_in_incomplete_call():
|
||||
source = """\
|
||||
import json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user