Derek Sollenberger | 2eb3b4d | 2016-01-11 14:41:40 -0500 | [diff] [blame] | 1 | # removes all files created during testing |
2 | import glob | ||||
3 | import os | ||||
4 | |||||
5 | paths = [] | ||||
6 | for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]: | ||||
7 | paths += glob.glob( 'data/' + pattern ) | ||||
8 | |||||
9 | for path in paths: | ||||
10 | os.unlink( path ) |