summaryrefslogtreecommitdiff
path: root/tests/python
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python')
-rw-r--r--tests/python/numerics/CommodityAmount.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/numerics/CommodityAmount.py b/tests/python/numerics/CommodityAmount.py
index 80f58b21..5c177044 100644
--- a/tests/python/numerics/CommodityAmount.py
+++ b/tests/python/numerics/CommodityAmount.py
@@ -177,7 +177,7 @@ class CommodityAmountTestCase(unittest.TestCase):
x9 = amount("123.45€")
x10 = amount("-123.45€")
- self.assertTrue(x0.null())
+ self.assertTrue(x0.is_null())
self.assertTrue(x0.zero())
self.assertTrue(x0.realzero())
self.assertTrue(x0.sign() == 0)