Mercurial > hgsubversion
comparison tests/comprehensive/test_verify.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 | 124cd25de4ef |
| children |
comparison
equal
deleted
inserted
replaced
| 832:e9af7eba88db | 833:312b37bc5e20 |
|---|---|
| 49 # attrs[name] = buildmethod(case, name, True, 'single') | 49 # attrs[name] = buildmethod(case, name, True, 'single') |
| 50 | 50 |
| 51 VerifyTests = type('VerifyTests', (test_util.TestBase,), attrs) | 51 VerifyTests = type('VerifyTests', (test_util.TestBase,), attrs) |
| 52 | 52 |
| 53 def suite(): | 53 def suite(): |
| 54 all = [unittest.TestLoader().loadTestsFromTestCase(VerifyTests)] | 54 all_tests = [unittest.TestLoader().loadTestsFromTestCase(VerifyTests)] |
| 55 return unittest.TestSuite(all) | 55 return unittest.TestSuite(all_tests) |
