def cleanup_file(filename):
try:<EOL><INDENT>os.remove(filename)<EOL><DEDENT>except OSError:<EOL><INDENT>pass<EOL><DEDENT>
Remove a test file from the system. If the file doesn't exist, ignore.

`Not as stupid as it looks. <http://stackoverflow.com/a/10840586>_`