diff tests/test_unaffected_core.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 f07bfd66db13
children d741f536f23a
line wrap: on
line diff
--- a/tests/test_unaffected_core.py
+++ b/tests/test_unaffected_core.py
@@ -88,5 +88,5 @@ class TestMercurialCore(test_util.TestBa
         self.assertEqual(repo[branch].hex(), repo2['.'].hex())
 
 def suite():
-    all = [unittest.TestLoader().loadTestsFromTestCase(TestMercurialCore)]
-    return unittest.TestSuite(all)
+    all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestMercurialCore)]
+    return unittest.TestSuite(all_tests)