assertEquals -> assertEqual
This commit is contained in:
parent
b214e90e01
commit
68c5de6d1c
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue