Stop using deprecated map().

This commit is contained in:
William Grant
2011-03-19 18:36:00 +11:00
parent f29addb823
commit e0fca7e613
+1 -1
View File
@@ -30,5 +30,5 @@ def test_suite():
test_dkim,
test_util,
]
suites = map(lambda x: x.test_suite(), modules)
suites = [x.test_suite() for x in modules]
return unittest.TestSuite(suites)