aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest_archivemail.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test_archivemail.py b/test_archivemail.py
index c403211..3142b68 100755
--- a/test_archivemail.py
+++ b/test_archivemail.py
@@ -87,8 +87,9 @@ class TestCaseInTempdir(unittest.TestCase):
def setUp(self):
if not self.temproot:
assert(not tempfile.tempdir)
- self.temproot = tempfile.tempdir = tempfile.mkdtemp()
-
+ self.temproot = tempfile.tempdir = \
+ tempfile.mkdtemp(prefix="test-archivemail")
+
def tearDown(self):
assert(tempfile.tempdir == self.temproot)
if self.temproot: