From c5f97cf03cbb9889a06af7bee56a7b4a7fa7e6f2 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Mon, 28 Mar 2022 15:05:25 +0200 Subject: [PATCH] test: fix syntaxerror indicator for 3.10 --- tests/interpreter-test-runfile.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/interpreter-test-runfile.cc b/tests/interpreter-test-runfile.cc index e87047c..eb84cbc 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" -- GitLab