Mercurial > hgsubversion
diff tests/test_fetch_symlinks.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 | 1d07e86f5797 |
line wrap: on
line diff
--- a/tests/test_fetch_symlinks.py +++ b/tests/test_fetch_symlinks.py @@ -53,6 +53,6 @@ class TestFetchSymlinks(test_util.TestBa self.test_symlinks(True) def suite(): - all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchSymlinks), + all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchSymlinks), ] - return unittest.TestSuite(all) + return unittest.TestSuite(all_tests)