mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-07 23:04:34 +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
@@ -103,7 +103,7 @@ def test_completion_on_complex_literals():
|
||||
_check_number('4.0j.', 'complex')
|
||||
# No dot no completion - I thought, but 4j is actually a literall after
|
||||
# which a keyword like or is allowed. Good times, haha!
|
||||
assert (set([c.name for c in api.Script('4j').completions()]) ==
|
||||
assert ({c.name for c in api.Script('4j').completions()} ==
|
||||
{'if', 'and', 'in', 'is', 'not', 'or'})
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user