From 103881ff80008b09608550de5b72b91509eb9fff Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 2 May 2007 03:05:10 +0000 Subject: First round of using boost/operators is done. --- tests/python/numerics/CommodityAmount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/python/numerics') 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) -- cgit v1.2.3