diff tests/test_single_dir_clone.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 20e73b5ab6f7
line wrap: on
line diff
--- a/tests/test_single_dir_clone.py
+++ b/tests/test_single_dir_clone.py
@@ -266,5 +266,5 @@ class TestSingleDir(test_util.TestBase):
         self.test_push_single_dir_renamed_branch(True)
 
 def suite():
-    all = [unittest.TestLoader().loadTestsFromTestCase(TestSingleDir)]
-    return unittest.TestSuite(all)
+    all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestSingleDir)]
+    return unittest.TestSuite(all_tests)