Python test script: fix the cleaning-up of test files

This commit is contained in:
Vinícius Rodrigues Miguel 2021-03-26 22:54:22 -03:00
parent 19f12ff791
commit 3687e7255d

View File

@ -19,6 +19,7 @@ def sanity_check_format(format: str):
print("Something went wrong with tar (de)compression.")
os._exit(2)
os.remove('test-file')
os.remove(f'test-file.{format}')
if __name__ == "__main__":