Fixed tests

This commit is contained in:
Danilo Bargen
2012-09-17 22:45:08 +02:00
parent a26023c5b9
commit 80cf9a7709
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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