diff --git a/test/base.py b/test/base.py index 3557d738..29cc966b 100644 --- a/test/base.py +++ b/test/base.py @@ -6,13 +6,13 @@ import os from os.path import abspath, dirname import functools +test_dir = dirname(abspath(__file__)) +root_dir = dirname(test_dir) +sys.path.insert(0, root_dir) + import jedi from jedi import debug - -test_dir = dirname(abspath(__file__)) - - test_sum = 0 t_start = time.time() # Sorry I didn't use argparse here. It's because argparse is not in the