[SCons] Fix running the Python 3 test suite

This commit is contained in:
Ray Speth 2013-12-20 19:21:41 +00:00
parent 38532f800f
commit 8a8926849f

View file

@ -169,7 +169,7 @@ def make_python_tests(version):
pyTest = addTestScript(
name, 'python', 'runCythonTests.py',
args=subset,
interpreter='$python_cmd',
interpreter='$python_cmd' if version == 2 else '$python3_cmd',
dependencies=(localenv['python%i_module' % version] +
localenv['python%i_extension' % version] +
mglob(localenv, test_root, 'py')),