Mercurial > hgsubversion
comparison tests/test_fetch_renames.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 | d6db289f1548 |
comparison
equal
deleted
inserted
replaced
832:e9af7eba88db | 833:312b37bc5e20 |
---|---|
73 | 73 |
74 def test_case_stupid(self): | 74 def test_case_stupid(self): |
75 self._test_case(True) | 75 self._test_case(True) |
76 | 76 |
77 def suite(): | 77 def suite(): |
78 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchRenames), | 78 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchRenames), |
79 ] | 79 ] |
80 return unittest.TestSuite(all) | 80 return unittest.TestSuite(all_tests) |