Skip to content
Snippets Groups Projects
Commit c5f97cf0 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

test: fix syntaxerror indicator for 3.10

parent f7ba7063
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,9 @@ int main(int argc, char** argv) { ...@@ -62,7 +62,9 @@ int main(int argc, char** argv) {
res = testFile(PATH "test_python-syntax_error.py", res = testFile(PATH "test_python-syntax_error.py",
std::string(" File \"" PATH "test_python-syntax_error.py\", line 2\n" std::string(" File \"" PATH "test_python-syntax_error.py\", line 2\n"
" hello world\n" " hello world\n"
#if PY_MINOR_VERSION >= 8 #if PY_MINOR_VERSION >= 10
" ^^^^^\n"
#elif PY_MINOR_VERSION >= 8
" ^\n" " ^\n"
#else #else
" ^\n" " ^\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment