1
0
forked from VimPlug/jedi

Make the new project API fully work in tests

This commit is contained in:
Dave Halter
2018-01-17 09:54:11 +01:00
parent fe813292cf
commit 9b5e3447d9
6 changed files with 20 additions and 14 deletions

View File

@@ -121,7 +121,7 @@ class Script(object):
project = get_default_project()
# TODO deprecate and remove sys_path from the Script API.
project._sys_path = sys_path
self._evaluator = Evaluator(project, environment)
self._evaluator = Evaluator(project, environment=environment, script_path=path)
self._project = project
debug.speed('init')