diff --git a/tests/interpreter-test-runfile.cc b/tests/interpreter-test-runfile.cc index e87047c8eb088cdb06917bd370f7b84e789daafd..eb84cbc72f806a9cb187a84856a89464c969485c 100644 --- a/tests/interpreter-test-runfile.cc +++ b/tests/interpreter-test-runfile.cc @@ -62,7 +62,9 @@ int main(int argc, char** argv) { res = testFile(PATH "test_python-syntax_error.py", std::string(" File \"" PATH "test_python-syntax_error.py\", line 2\n" " hello world\n" -#if PY_MINOR_VERSION >= 8 +#if PY_MINOR_VERSION >= 10 + " ^^^^^\n" +#elif PY_MINOR_VERSION >= 8 " ^\n" #else " ^\n"