Make it possible to connect to a subprocess to get the sys path

This commit is contained in:
Dave Halter
2017-11-14 18:25:37 +01:00
parent 46b81dfa6d
commit 96149d2e6a
7 changed files with 51 additions and 52 deletions

View File

@@ -0,0 +1,5 @@
from jedi.api.virtualenv import Environment, DefaultEnvironment
def test_sys_path():
assert DefaultEnvironment('/foo').get_sys_path()