mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Re-add sys.path setup in test/base.py
This commit is contained in:
@@ -6,13 +6,13 @@ import os
|
|||||||
from os.path import abspath, dirname
|
from os.path import abspath, dirname
|
||||||
import functools
|
import functools
|
||||||
|
|
||||||
|
test_dir = dirname(abspath(__file__))
|
||||||
|
root_dir = dirname(test_dir)
|
||||||
|
sys.path.insert(0, root_dir)
|
||||||
|
|
||||||
import jedi
|
import jedi
|
||||||
from jedi import debug
|
from jedi import debug
|
||||||
|
|
||||||
|
|
||||||
test_dir = dirname(abspath(__file__))
|
|
||||||
|
|
||||||
|
|
||||||
test_sum = 0
|
test_sum = 0
|
||||||
t_start = time.time()
|
t_start = time.time()
|
||||||
# Sorry I didn't use argparse here. It's because argparse is not in the
|
# Sorry I didn't use argparse here. It's because argparse is not in the
|
||||||
|
|||||||
Reference in New Issue
Block a user