diff --git a/test/SConscript b/test/SConscript index a46b8b838..99725525f 100644 --- a/test/SConscript +++ b/test/SConscript @@ -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')),