Remove e assertIs definitions and use correct assert* methods.

This commit is contained in:
Ezio Melotti 2010-02-20 09:40:07 +00:00
parent 4cc80ca921
commit e3467d5c96
6 changed files with 28 additions and 45 deletions

View file

@ -72,9 +72,6 @@ class ComplexTest(unittest.TestCase):
self.assertCloseAbs(x.real, y.real, eps)
self.assertCloseAbs(x.imag, y.imag, eps)
def assertIs(self, a, b):
self.assertTrue(a is b)
def check_div(self, x, y):
"""Compute complex z=x*y, and check that z/x==y and z/y==x."""
z = x * y