#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

@ -295,7 +295,7 @@ class IntTestCases(unittest.TestCase):
try:
int(TruncReturnsNonIntegral())
except TypeError as e:
self.assertEquals(str(e),
self.assertEqual(str(e),
"__trunc__ returned non-Integral"
" (type NonIntegral)")
else: