Mercurial > hgsubversion
comparison tests/test_push_dirs.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 | db3a651494f9 |
comparison
equal
deleted
inserted
replaced
| 832:e9af7eba88db | 833:312b37bc5e20 |
|---|---|
| 103 'tag_r3/alpha', | 103 'tag_r3/alpha', |
| 104 'tag_r3/beta', | 104 'tag_r3/beta', |
| 105 'tag_r3/new']) | 105 'tag_r3/new']) |
| 106 | 106 |
| 107 def suite(): | 107 def suite(): |
| 108 all = [unittest.TestLoader().loadTestsFromTestCase(TestPushDirectories), | 108 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestPushDirectories), |
| 109 ] | 109 ] |
| 110 return unittest.TestSuite(all) | 110 return unittest.TestSuite(all_tests) |
