1
0
forked from VimPlug/jedi

Fix some tests

This commit is contained in:
Dave Halter
2019-04-03 01:04:18 +02:00
parent fa17681cf6
commit f4a6856e54
3 changed files with 12 additions and 12 deletions

View File

@@ -79,7 +79,7 @@ def test_killed_subprocess(evaluator, Script, environment):
if isinstance(environment, InterpreterEnvironment):
pytest.skip("We cannot kill our own process")
# Just kill the subprocess.
evaluator.compiled_subprocess._compiled_subprocess._process.kill()
evaluator.compiled_subprocess._compiled_subprocess._get_process().kill()
# Since the process was terminated (and nobody knows about it) the first
# Jedi call fails.
with pytest.raises(jedi.InternalError):