comparison tests/test_utility_commands.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 04729f3a3d17
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
249 authors=author_path) 249 authors=author_path)
250 self.assertMultiLineEqual(open(author_path).read(), 'Augie=\nevil=\n') 250 self.assertMultiLineEqual(open(author_path).read(), 'Augie=\nevil=\n')
251 251
252 252
253 def suite(): 253 def suite():
254 all = [unittest.TestLoader().loadTestsFromTestCase(UtilityTests), 254 all_tests = [unittest.TestLoader().loadTestsFromTestCase(UtilityTests),
255 ] 255 ]
256 return unittest.TestSuite(all) 256 return unittest.TestSuite(all_tests)