diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-27 01:03:41 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-27 01:03:41 -0400 |
commit | 9e9f25b566987c340a728ab473a34670969fbeee (patch) | |
tree | e8d3463dd288dc3415cc8f4181086ae475a8a64d /test/python | |
parent | 713f89679070e2fe2aa529c4eade1f9efd697898 (diff) | |
download | fork-ledger-9e9f25b566987c340a728ab473a34670969fbeee.tar.gz fork-ledger-9e9f25b566987c340a728ab473a34670969fbeee.tar.bz2 fork-ledger-9e9f25b566987c340a728ab473a34670969fbeee.zip |
'make check' is now working again. Also, conversion from amount_t to/from
double has been disabled, because I am no longer packaging the gdtoa library
with Ledger (because double conversion really has nothing to do with what
Ledger does). If you wish to use it, you can find gdtoa in cpp-rewrite-2006,
under a sub-directory of the same name.
Diffstat (limited to 'test/python')
-rw-r--r-- | test/python/numerics/t_amount.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/test/python/numerics/t_amount.py b/test/python/numerics/t_amount.py index f7eeee8f..95c98bdb 100644 --- a/test/python/numerics/t_amount.py +++ b/test/python/numerics/t_amount.py @@ -16,21 +16,20 @@ class t_amountTestCase(unittest.TestCase): self.assertTrue(amt.valid()) def setUp(self): - #self.testSession = session() - #set_session_context(self.testSession) + self.testSession = session() + set_session_context(self.testSession) # Cause the display precision for dollars to be initialized to 2. x1 = amount("$1.00") self.assertTrue(x1) - #amount.stream_fullstrings = True # make reports from UnitTests accurate + amount.stream_fullstrings = True # make reports from UnitTests accurate def tearDown(self): - pass - #amount.stream_fullstrings = False + amount.stream_fullstrings = False - #set_session_context() - #self.testSession = None + set_session_context() + self.testSession = None def testParser(self): x0 = amount() |