Remove trailing whitespace from gentest.py.