mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-28 08:12:11 +08:00
Replace function call with set literal
This commit is contained in:
@@ -68,7 +68,7 @@ class TestSetupReadline(unittest.TestCase):
|
||||
|
||||
def test_import(self):
|
||||
s = 'from os.path import a'
|
||||
assert set(self.completions(s)) == set([s + 'ltsep', s + 'bspath'])
|
||||
assert set(self.completions(s)) == {s + 'ltsep', s + 'bspath'}
|
||||
assert self.completions('import keyword') == ['import keyword']
|
||||
|
||||
import os
|
||||
|
||||
Reference in New Issue
Block a user