comparison tests/test_unaffected_core.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 f07bfd66db13
children d741f536f23a
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
86 repo2 = hg.repository(ui, self.wc_path + '2') 86 repo2 = hg.repository(ui, self.wc_path + '2')
87 87
88 self.assertEqual(repo[branch].hex(), repo2['.'].hex()) 88 self.assertEqual(repo[branch].hex(), repo2['.'].hex())
89 89
90 def suite(): 90 def suite():
91 all = [unittest.TestLoader().loadTestsFromTestCase(TestMercurialCore)] 91 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestMercurialCore)]
92 return unittest.TestSuite(all) 92 return unittest.TestSuite(all_tests)