Skip to content

Commit 92a074d

Browse files
Create cleanup_tests.py
Co-authored-by: LeAndre <lcjunior1220@gmail.com>
1 parent 332b741 commit 92a074d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/cleanup_tests.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import os
2+
3+
if os.path.exists(".tox_copied_files"):
4+
with open(".tox_copied_files") as f:
5+
for line in f:
6+
name = line.strip()
7+
if os.path.exists(name):
8+
os.remove(name)
9+
print(f"[tox] Cleaned up: {name}")
10+
os.remove(".tox_copied_files")

0 commit comments

Comments
 (0)