forked from VimPlug/jedi
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