summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_mailbox.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py
index 382a42e..1d1a063 100644
--- a/Lib/test/test_mailbox.py
+++ b/Lib/test/test_mailbox.py
@@ -2,6 +2,12 @@ import mailbox
import os
import test_support
+# cleanup
+try:
+ os.unlink(test_support.TESTFN)
+except os.error:
+ pass
+
# create a new maildir mailbox to work with:
curdir = os.path.join(test_support.TESTFN, "cur")
newdir = os.path.join(test_support.TESTFN, "new")