diff options
Diffstat (limited to 'Lib/test/test_int.py')
-rw-r--r-- | Lib/test/test_int.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_int.py b/Lib/test/test_int.py index 0ea5772..86c4dd7 100644 --- a/Lib/test/test_int.py +++ b/Lib/test/test_int.py @@ -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: |