summaryrefslogtreecommitdiff
path: root/tests/python
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-02 03:05:10 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:35 -0400
commit103881ff80008b09608550de5b72b91509eb9fff (patch)
tree00d4fb5710d9a76dca3130478f67ba408a99dafe /tests/python
parent9e80a6fbcc837c0bfc3f5846347da1a25364ba44 (diff)
downloadfork-ledger-103881ff80008b09608550de5b72b91509eb9fff.tar.gz
fork-ledger-103881ff80008b09608550de5b72b91509eb9fff.tar.bz2
fork-ledger-103881ff80008b09608550de5b72b91509eb9fff.zip
First round of using boost/operators is done.
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)