diff tests/test_rebuildmeta.py @ 182:47d25d61abfa

remove generators (compat with python2.3)
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 13 Jan 2009 15:39:22 +0100
parents ba801f44d240
children 13ae1bded5e7
line wrap: on
line diff
--- a/tests/test_rebuildmeta.py
+++ b/tests/test_rebuildmeta.py
@@ -71,7 +71,7 @@ def buildmethod(case, name, stupid):
 
 attrs = {'_do_case': _do_case,
          }
-for case in (f for f in os.listdir(test_util.FIXTURES) if f.endswith('.svndump')):
+for case in [f for f in os.listdir(test_util.FIXTURES) if f.endswith('.svndump')]:
     name = 'test_' + case[:-len('.svndump')]
     attrs[name] = buildmethod(case, name, False)
     name += '_stupid'