From 68c5de6d1cb51161bd7e7b2e52a613c4dbff1f47 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sun, 11 Jul 2010 19:12:10 +0000 Subject: [PATCH] assertEquals -> assertEqual --- Lib/test/test_cmath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py index a589f8db7e..a8033635ec 100644 --- a/Lib/test/test_cmath.py +++ b/Lib/test/test_cmath.py @@ -448,7 +448,7 @@ class CMathTests(unittest.TestCase): for x in real_vals: for y in real_vals: z = complex(x, y) - self.assertEquals(cmath.isfinite(z), + self.assertEqual(cmath.isfinite(z), math.isfinite(x) and math.isfinite(y)) def test_isnan(self): -- 2.50.0