1
0
forked from VimPlug/jedi

Some tests that involved jedi were actually a bit wrong and only worked in certain environments.

This commit is contained in:
Dave Halter
2018-01-05 00:48:40 +01:00
parent 4d896892a3
commit db1a4415b3
4 changed files with 20 additions and 10 deletions

View File

@@ -5,6 +5,9 @@ import os
_d = os.path.dirname
_jedi_path = _d(_d(_d(_d(_d(__file__)))))
_parso_path = sys.argv[1]
# Remove the first entry, because it's simply a directory entry to this
# directory.
del sys.path[0]
# This is kind of stupid. We actually don't want to modify the sys path but
# simply import something from a specific location.