forked from VimPlug/jedi
8 lines
207 B
Python
8 lines
207 B
Python
from jedi.parser import Parser
|
|
|
|
|
|
def test_import_is_nested():
|
|
imp = Parser('import ').module.imports[0]
|
|
# should not raise an error, even if it's not a complete import
|
|
assert not imp.is_nested()
|