mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Get a lot of tests passing
This commit is contained in:
@@ -28,11 +28,6 @@ def test_versions(version):
|
||||
assert any(executable in p for p in sys_path)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def evaluator():
|
||||
return jedi.Script('')._evaluator
|
||||
|
||||
|
||||
def test_import_module(evaluator):
|
||||
compiled_obj = evaluator.compiled_subprocess.import_module(name='math')
|
||||
assert compiled_obj.py__bool__() is True
|
||||
|
||||
Reference in New Issue
Block a user