def test_absolute2(self): target = self.d1 out = one_minus(np.arange(5)) self.assertTrue((out == target).all())
def test_absolute2(self): target = self.d1 out = one_minus(np.arange(5)) self.failUnless((out == target).all())