summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-03-20 06:16:26 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-03-20 06:16:26 +0000
commitb0a7d4ec68f89ef5fa9cf67b04b36a805711dfcc (patch)
tree565fb4cd38df477bcc9a2200d2bfaabc891ddea3
parentce2ab351f077f2b0ce562fd91576dc23eca8b59c (diff)
downloadcpython-git-b0a7d4ec68f89ef5fa9cf67b04b36a805711dfcc.tar.gz
Try to make this test more resistant to dropping from previous runs (ie, files that may exist but cause the test to fail). Should be backported (assuming it works :-)
-rw-r--r--Lib/test/test_mailbox.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py
index 8edb9ebd97..fe186fa4ef 100644
--- a/Lib/test/test_mailbox.py
+++ b/Lib/test/test_mailbox.py
@@ -54,6 +54,7 @@ class TestMailbox(TestBase):
def setUp(self):
self._path = test_support.TESTFN
+ self._delete_recursively(self._path)
self._box = self._factory(self._path)
def tearDown(self):