mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
Python test script: fix the cleaning-up of test files
This commit is contained in:
parent
19f12ff791
commit
3687e7255d
@ -19,6 +19,7 @@ def sanity_check_format(format: str):
|
|||||||
print("Something went wrong with tar (de)compression.")
|
print("Something went wrong with tar (de)compression.")
|
||||||
os._exit(2)
|
os._exit(2)
|
||||||
os.remove('test-file')
|
os.remove('test-file')
|
||||||
|
os.remove(f'test-file.{format}')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user