Skip to content

Commit 7b4f5b5

Browse files
remove crash on file deletion
1 parent 2ce38c4 commit 7b4f5b5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/input/test_compression.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,4 @@ def cleanup():
226226
for file_path in created_files:
227227
full_path = DATA_DIR / "output" / file_path
228228
if full_path.exists():
229-
try:
230-
os.remove(full_path)
231-
except OSError as e:
232-
print(f"Could not delete file '{file_path}': {e.strerror}")
229+
os.remove(full_path)

0 commit comments

Comments
 (0)