mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Fixed tests
This commit is contained in:
@@ -4,8 +4,8 @@ import sys
|
|||||||
import unittest
|
import unittest
|
||||||
from os.path import abspath, dirname
|
from os.path import abspath, dirname
|
||||||
|
|
||||||
sys.path.append(abspath(dirname(abspath(__file__)) + '/..'))
|
sys.path.append(abspath(dirname(abspath(__file__)) + '/../jedi'))
|
||||||
os.chdir(os.path.dirname(os.path.abspath(__file__)) + '/..')
|
os.chdir(os.path.dirname(os.path.abspath(__file__)) + '/../jedi')
|
||||||
sys.path.append('.')
|
sys.path.append('.')
|
||||||
|
|
||||||
from _compatibility import is_py25
|
from _compatibility import is_py25
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import re
|
|||||||
import traceback
|
import traceback
|
||||||
from os.path import abspath, dirname
|
from os.path import abspath, dirname
|
||||||
|
|
||||||
sys.path.append(abspath(dirname(abspath(__file__)) + '/..'))
|
sys.path.append(abspath(dirname(abspath(__file__)) + '/../jedi'))
|
||||||
os.chdir(dirname(abspath(__file__)) + '/..')
|
os.chdir(dirname(abspath(__file__)) + '/../jedi')
|
||||||
|
|
||||||
from _compatibility import unicode, BytesIO, reduce, literal_eval, is_py25
|
from _compatibility import unicode, BytesIO, reduce, literal_eval, is_py25
|
||||||
|
|
||||||
@@ -253,7 +253,7 @@ for arg in args:
|
|||||||
last = arg
|
last = arg
|
||||||
|
|
||||||
# completion tests:
|
# completion tests:
|
||||||
completion_test_dir = 'test/completion'
|
completion_test_dir = '../test/completion'
|
||||||
summary = []
|
summary = []
|
||||||
tests_fail = 0
|
tests_fail = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user