diff options
Diffstat (limited to 'tests/python/numerics/BasicAmount.py')
-rw-r--r-- | tests/python/numerics/BasicAmount.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/python/numerics/BasicAmount.py b/tests/python/numerics/BasicAmount.py index 4dfb3a7a..9e2c1b3e 100644 --- a/tests/python/numerics/BasicAmount.py +++ b/tests/python/numerics/BasicAmount.py @@ -444,10 +444,10 @@ class BasicAmountTestCase(unittest.TestCase): self.assertFalse(x0) self.assertTrue(x1) - self.assertTrue(x0.zero()) - self.assertTrue(x0.realzero()) - self.assertFalse(x1.zero()) - self.assertFalse(x1.realzero()) + self.assertTrue(x0.is_zero()) + self.assertTrue(x0.is_realzero()) + self.assertFalse(x1.is_zero()) + self.assertFalse(x1.is_realzero()) self.assertTrue(x0.valid()) self.assertTrue(x1.valid()) |