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:
Dave Halter
2014-07-18 15:36:50 +02:00
parent 4626a8b6df
commit 81f3b940e8
2 changed files with 2 additions and 2 deletions

View File

@@ -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