comparison tests/test_startrev.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 d4312a6f7a87
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
63 63
64 StartRevTests = type('StartRevTests', (test_util.TestBase,), attrs) 64 StartRevTests = type('StartRevTests', (test_util.TestBase,), attrs)
65 65
66 66
67 def suite(): 67 def suite():
68 all = [unittest.TestLoader().loadTestsFromTestCase(StartRevTests), 68 all_tests = [unittest.TestLoader().loadTestsFromTestCase(StartRevTests),
69 ] 69 ]
70 return unittest.TestSuite(all) 70 return unittest.TestSuite(all_tests)