summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_old_mailbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_old_mailbox.py')
-rw-r--r--Lib/test/test_old_mailbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_old_mailbox.py b/Lib/test/test_old_mailbox.py
index 7bd5557..b881506 100644
--- a/Lib/test/test_old_mailbox.py
+++ b/Lib/test/test_old_mailbox.py
@@ -35,7 +35,7 @@ class MaildirTestCase(unittest.TestCase):
self._msgfiles = []
def tearDown(self):
- map(os.unlink, self._msgfiles)
+ list(map(os.unlink, self._msgfiles))
os.rmdir(os.path.join(self._dir, "cur"))
os.rmdir(os.path.join(self._dir, "tmp"))
os.rmdir(os.path.join(self._dir, "new"))