Fix runtests.py syntax error