forked from VimPlug/jedi
Exceptions now also work over the subprocess.
This commit is contained in:
@@ -36,3 +36,5 @@ def test_import_module(evaluator):
|
||||
compiled_obj = evaluator.compiled_subprocess.import_module(name='math')
|
||||
assert compiled_obj.py__bool__() is True
|
||||
assert compiled_obj.type == 'file_input'
|
||||
with pytest.raises(AttributeError):
|
||||
assert compiled_obj.py__mro__()
|
||||
|
||||
Reference in New Issue
Block a user