diff --git a/tests/interpreter-test-runfile.cc b/tests/interpreter-test-runfile.cc index de1063695f0f38457067f392e7eab5be0859f1e4..9ff3254947acd13cb887778f1e7036f47eb26652 100644 --- a/tests/interpreter-test-runfile.cc +++ b/tests/interpreter-test-runfile.cc @@ -53,14 +53,14 @@ int main(int argc, char** argv) { // This test succeeds only because it is launched before "test_python-ok.py" // because re as been imported in a previous test and it is not // safe to delete imported module... - res = testFile( - PATH "test_python-name_error.py", - std::string("Traceback (most recent call last):\n" - " File \"" PATH - "test_python-name_error.py\", line 7, in <module>\n" - " pathList = re.split(\":\", pkgConfigPath) # noqa\n" - "NameError: name 're' is not defined\n"), - numTest) && + res = testFile(PATH "test_python-name_error.py", + std::string( + "Traceback (most recent call last):\n" + " File \"" PATH + "test_python-name_error.py\", line 7, in <module>\n" + " pathList = re.split(\":\", pkgConfigPath) # noqa\n" + "NameError: name 're' is not defined\n"), + numTest) && res; res = testFile(PATH "test_python-ok.py", "", numTest) && res;