#9424: Replace deprecated assert* methods in the Python test suite.

This commit is contained in:
Ezio Melotti 2010-11-20 19:04:17 +00:00
parent b8bc439b20
commit b3aedd4862
170 changed files with 2388 additions and 2392 deletions

View file

@ -24,7 +24,7 @@ class BuildTestCase(support.TempdirManager,
cmd = bdist(dist)
cmd.formats = ['msi']
cmd.ensure_finalized()
self.assertEquals(cmd.formats, ['msi'])
self.assertEqual(cmd.formats, ['msi'])
# what format bdist offers ?
# XXX an explicit list in bdist is
@ -35,7 +35,7 @@ class BuildTestCase(support.TempdirManager,
formats.sort()
founded = list(cmd.format_command.keys())
founded.sort()
self.assertEquals(founded, formats)
self.assertEqual(founded, formats)
def test_suite():
return unittest.makeSuite(BuildTestCase)