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