Commit d4a210d2 authored by Guilhem Saurel's avatar Guilhem Saurel

[Tests] fix for python 3.8+

parent f874f72c
......@@ -62,7 +62,11 @@ int main(int argc, char** argv) {
res = testFile("test_python-syntax_error.py",
std::string(" File \"test_python-syntax_error.py\", line 2\n"
" hello world\n"
#if PY_MINOR_VERSION >= 8
" ^\n"
#else
" ^\n"
#endif
"SyntaxError: invalid syntax\n"),
numTest) &&
res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment