mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 01:35:22 +08:00
Use set literals
This commit is contained in:
1 parent
3644c72efe
commit
3e8cd9f128
7 files changed
+9
-9
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()]) == {'int', 'float'}
|
||||
assert {d.name for d in c._goto_definitions()} == {'int', 'float'}
|
||||
|
||||
|
||||
def test_more_complex_instances():
|
||||
|
||||
Reference in new issue
Block a user