1
0
forked from VimPlug/jedi
This commit is contained in:
David Halter
2012-09-06 11:23:12 +02:00
parent 61cb267dd5
commit 844e222ed5
6 changed files with 20 additions and 19 deletions

View File

@@ -7,7 +7,7 @@ import traceback
os.chdir(os.path.dirname(os.path.abspath(__file__)) + '/..')
sys.path.append('.')
from _compatibility import unicode, BytesIO, reduce, literal_eval
from _compatibility import unicode, BytesIO, reduce, literal_eval, is_py25
import functions
import debug
@@ -185,8 +185,7 @@ def test_dir(completion_test_dir, thirdparty=False):
if f_name.endswith(".py") and (not test_files or files_to_execute):
# for python2.5 certain tests are not being done, because it
# only has these features partially.
if sys.hexversion < 0x02060000 \
and f_name in ['generators.py', 'types.py']:
if is_py25 and f_name in ['generators.py', 'types.py']:
continue
if thirdparty: