comparison tests/test_fetch_branches.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 86d124a8768e
children 04729f3a3d17
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
161 161
162 def test_replace_branch_with_branch_stupid(self, stupid=False): 162 def test_replace_branch_with_branch_stupid(self, stupid=False):
163 self.test_replace_branch_with_branch(True) 163 self.test_replace_branch_with_branch(True)
164 164
165 def suite(): 165 def suite():
166 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches), 166 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches),
167 ] 167 ]
168 return unittest.TestSuite(all) 168 return unittest.TestSuite(all_tests)