1# removes all files created during testing 2import glob 3import os 4 5paths = [] 6for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]: 7 paths += glob.glob( 'data/' + pattern ) 8 9for path in paths: 10 os.unlink( path ) 11