diff -r 358d8bed9626 -r 0bb18407c053 devtools/testlib.py --- a/devtools/testlib.py Thu Feb 14 15:38:25 2013 +0100 +++ b/devtools/testlib.py Thu Feb 14 16:01:24 2013 +0100 @@ -1206,7 +1206,7 @@ # # XXX broken # from cubicweb.devtools.apptest import TestEnvironment # env = testclass._env = TestEnvironment('data', configcls=testclass.configcls) -# for reg in env.vreg.values(): +# for reg in env.vreg.itervalues(): # reg._selected = {} # try: # orig_select_best = reg.__class__.__orig_select_best