summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_cmath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py
index a589f8d..a803363 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):