mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Finally got compiled_objects and the access to them working
This commit is contained in:
@@ -33,4 +33,6 @@ def evaluator():
|
||||
|
||||
|
||||
def test_import_module(evaluator):
|
||||
evaluator.compiled_subprocess.import_module(name='math')
|
||||
compiled_obj = evaluator.compiled_subprocess.import_module(name='math')
|
||||
assert compiled_obj.py__bool__() is True
|
||||
assert compiled_obj.type == 'file_input'
|
||||
|
||||
Reference in New Issue
Block a user