Mercurial > hgsubversion
comparison tests/test_binaryfiles.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 | d2ef7220a079 |
children | d741f536f23a |
comparison
equal
deleted
inserted
replaced
832:e9af7eba88db | 833:312b37bc5e20 |
---|---|
9 | 9 |
10 def test_binaryfiles_stupid(self): | 10 def test_binaryfiles_stupid(self): |
11 self.test_binaryfiles(True) | 11 self.test_binaryfiles(True) |
12 | 12 |
13 def suite(): | 13 def suite(): |
14 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBinaryFiles), | 14 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBinaryFiles), |
15 ] | 15 ] |
16 return unittest.TestSuite(all) | 16 return unittest.TestSuite(all_tests) |