Mercurial > hgsubversion
diff tests/test_fetch_branches.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 | 86d124a8768e |
children | 04729f3a3d17 |
line wrap: on
line diff
--- a/tests/test_fetch_branches.py +++ b/tests/test_fetch_branches.py @@ -163,6 +163,6 @@ class TestFetchBranches(test_util.TestBa self.test_replace_branch_with_branch(True) def suite(): - all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches), + all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches), ] - return unittest.TestSuite(all) + return unittest.TestSuite(all_tests)