comparison tests/test_urls.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
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
73 repo1 = svnrepo.svnremoterepo(ui, repo_url + subdir) 73 repo1 = svnrepo.svnremoterepo(ui, repo_url + subdir)
74 repo2 = svnrepo.svnremoterepo(ui, repo_url + quoted_subdir) 74 repo2 = svnrepo.svnremoterepo(ui, repo_url + quoted_subdir)
75 self.assertEqual(repo1.svnurl, repo2.svnurl) 75 self.assertEqual(repo1.svnurl, repo2.svnurl)
76 76
77 def suite(): 77 def suite():
78 all = [unittest.TestLoader().loadTestsFromTestCase(TestSubversionUrls)] 78 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestSubversionUrls)]
79 return unittest.TestSuite(all) 79 return unittest.TestSuite(all_tests)