comparison tests/test_rebuildmeta.py @ 833:312b37bc5e20

tests: avoid shadowing Python builtin all()
author Yonggang Luo <luoyonggang@gmail.com>
date Wed, 12 Oct 2011 15:43:31 +0800
parents e9af7eba88db
children 50c13e01c7e3
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
115 115
116 RebuildMetaTests = type('RebuildMetaTests', (test_util.TestBase,), attrs) 116 RebuildMetaTests = type('RebuildMetaTests', (test_util.TestBase,), attrs)
117 117
118 118
119 def suite(): 119 def suite():
120 all = [unittest.TestLoader().loadTestsFromTestCase(RebuildMetaTests), 120 all_tests = [unittest.TestLoader().loadTestsFromTestCase(RebuildMetaTests),
121 ] 121 ]
122 return unittest.TestSuite(all) 122 return unittest.TestSuite(all_tests)