comparison tests/test_fetch_truncated.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 d2ef7220a079
children 20e73b5ab6f7
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
29 29
30 def test_truncated_history_stupid(self): 30 def test_truncated_history_stupid(self):
31 self.test_truncated_history(True) 31 self.test_truncated_history(True)
32 32
33 def suite(): 33 def suite():
34 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchTruncatedHistory), 34 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchTruncatedHistory),
35 ] 35 ]
36 return unittest.TestSuite(all) 36 return unittest.TestSuite(all_tests)