mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 22:55:16 +08:00
Replace function call with set literal
This commit is contained in:
1 parent
5755fcb900
commit
cc623218e5
13 files changed
+32
-32
No files matched your search
@@ -261,7 +261,7 @@ def test_completion_param_annotations():
|
||||
a, b, c = c.params
|
||||
assert a._goto_definitions() == []
|
||||
assert [d.name for d in b._goto_definitions()] == ['str']
|
||||
assert set([d.name for d in c._goto_definitions()]) == set(['int', 'float'])
|
||||
assert set([d.name for d in c._goto_definitions()]) == {'int', 'float'}
|
||||
|
||||
|
||||
def test_more_complex_instances():
|
||||
|
||||
Reference in new issue
Block a user