r26598: Simplify the way Python tests are run.