1
0
forked from VimPlug/jedi

Exceptions now also work over the subprocess.

This commit is contained in:
Dave Halter
2017-11-17 01:54:05 +01:00
parent 4a7d715a57
commit 87452639ad
3 changed files with 13 additions and 2 deletions

View File

@@ -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__()