comparison tests/test_template_keywords.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 f089ca13cc4c
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
80 self.assertRaises(error.ParseError, 80 self.assertRaises(error.ParseError,
81 commands.log, self.ui(), repo, 81 commands.log, self.ui(), repo,
82 template='{rev}:{svnrev} ', **defaults) 82 template='{rev}:{svnrev} ', **defaults)
83 83
84 def suite(): 84 def suite():
85 all = [unittest.TestLoader().loadTestsFromTestCase(TestLogKeywords), ] 85 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestLogKeywords), ]
86 return unittest.TestSuite(all) 86 return unittest.TestSuite(all_tests)