Commit c32658a5 authored by Guido van Rossum's avatar Guido van Rossum

Some other tests, when failing, don't always remove their TESTFN file.

Try to do it for them, so our mkdir() operation doesn't fail.
parent 2ef0fa6b
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment