1
0
forked from VimPlug/jedi

Replace function call with set literal

This commit is contained in:
Hugo
2018-01-04 16:37:50 +02:00
parent 5755fcb900
commit cc623218e5
13 changed files with 32 additions and 32 deletions

View File

@@ -156,7 +156,7 @@ def test_complete_on_empty_import():
# relative import
assert 10 < len(Script("from . import classes", 1, 6, 'whatever.py').completions()) < 30
wanted = set(['ImportError', 'import', 'ImportWarning'])
wanted = {'ImportError', 'import', 'ImportWarning'}
assert set([c.name for c in Script("import").completions()]) == wanted
assert len(Script("import import", path='').completions()) > 0