Mercurial > hgsubversion
diff tests/test_utility_commands.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 | 04729f3a3d17 |
line wrap: on
line diff
--- a/tests/test_utility_commands.py +++ b/tests/test_utility_commands.py @@ -251,6 +251,6 @@ class UtilityTests(test_util.TestBase): def suite(): - all = [unittest.TestLoader().loadTestsFromTestCase(UtilityTests), + all_tests = [unittest.TestLoader().loadTestsFromTestCase(UtilityTests), ] - return unittest.TestSuite(all) + return unittest.TestSuite(all_tests)