Commit 0df11e1a authored by Barry Warsaw's avatar Barry Warsaw

Un-Python-2.0-ification; can't use list comprehensions. :(

parent bc2bd6b5
......@@ -9,7 +9,8 @@ MODULES = ('commitlog', 'create', 'virgin', 'zodb_simple', 'storage_api')
def suite():
alltests = unittest.TestSuite()
for mod in [__import__('test_'+mod) for mod in MODULES]:
for modname in MODULES:
mod = __import__('test_'+modname)
alltests.addTest(mod.suite())
return alltests
......
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