mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
assertEquals -> assertEqual
This commit is contained in:
parent
b214e90e01
commit
68c5de6d1c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue