Mercurial > hgsubversion
comparison tests/comprehensive/test_stupid_pull.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 | 50c13e01c7e3 |
comparison
equal
deleted
inserted
replaced
832:e9af7eba88db | 833:312b37bc5e20 |
---|---|
54 | 54 |
55 StupidPullTests = type('StupidPullTests', (test_util.TestBase,), attrs) | 55 StupidPullTests = type('StupidPullTests', (test_util.TestBase,), attrs) |
56 | 56 |
57 | 57 |
58 def suite(): | 58 def suite(): |
59 all = [unittest.TestLoader().loadTestsFromTestCase(StupidPullTests), | 59 all_tests = [unittest.TestLoader().loadTestsFromTestCase(StupidPullTests), |
60 ] | 60 ] |
61 return unittest.TestSuite(all) | 61 return unittest.TestSuite(all_tests) |