Mercurial > hgsubversion
comparison tests/test_fetch_exec.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 | 04729f3a3d17 |
comparison
equal
deleted
inserted
replaced
| 832:e9af7eba88db | 833:312b37bc5e20 |
|---|---|
| 31 | 31 |
| 32 def test_empty_prop_val_executable_stupid(self): | 32 def test_empty_prop_val_executable_stupid(self): |
| 33 self.test_empty_prop_val_executable(True) | 33 self.test_empty_prop_val_executable(True) |
| 34 | 34 |
| 35 def suite(): | 35 def suite(): |
| 36 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchExec), | 36 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchExec), |
| 37 ] | 37 ] |
| 38 return unittest.TestSuite(all) | 38 return unittest.TestSuite(all_tests) |
