comparison tests/test_diff.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 d741f536f23a
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
36 wrappers.diff(lambda x, y, z: None, u, self.repo, svn=True) 36 wrappers.diff(lambda x, y, z: None, u, self.repo, svn=True)
37 self.assertEqual(u.popbuffer(), expected_diff_output) 37 self.assertEqual(u.popbuffer(), expected_diff_output)
38 38
39 39
40 def suite(): 40 def suite():
41 all = [unittest.TestLoader().loadTestsFromTestCase(DiffTests), 41 all_tests = [unittest.TestLoader().loadTestsFromTestCase(DiffTests),
42 ] 42 ]
43 return unittest.TestSuite(all) 43 return unittest.TestSuite(all_tests)