summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cmath.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-07-11 19:12:10 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-07-11 19:12:10 (GMT)
commit68c5de6d1cb51161bd7e7b2e52a613c4dbff1f47 (patch)
tree092f31e8da006d4f191522ffc4328b073d494b8b /Lib/test/test_cmath.py
parentb214e90e010f86b7d899cd88ada8c68fff90c870 (diff)
downloadcpython-68c5de6d1cb51161bd7e7b2e52a613c4dbff1f47.zip
cpython-68c5de6d1cb51161bd7e7b2e52a613c4dbff1f47.tar.gz
cpython-68c5de6d1cb51161bd7e7b2e52a613c4dbff1f47.tar.bz2
assertEquals -> assertEqual
Diffstat (limited to 'Lib/test/test_cmath.py')
-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):