summaryrefslogtreecommitdiff
path: root/test/unit/t_expr.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
commit2d941730b1c60342be5b108d2d654723b3b7c2cb (patch)
tree6a3f4b7305857e85d2684670492007bafc3668d0 /test/unit/t_expr.cc
parent73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe (diff)
downloadfork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.gz
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.bz2
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.zip
Largely removed all of Ledger's use of global variables, for the REPL's sake.
Diffstat (limited to 'test/unit/t_expr.cc')
-rw-r--r--test/unit/t_expr.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/unit/t_expr.cc b/test/unit/t_expr.cc
index 209bb934..f9096cc5 100644
--- a/test/unit/t_expr.cc
+++ b/test/unit/t_expr.cc
@@ -9,16 +9,10 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(ValueExprTestCase, "expr");
void ValueExprTestCase::setUp()
{
amount_t::initialize();
-#ifndef NOT_FOR_PYTHON
- expr_t::initialize();
-#endif // NOT_FOR_PYTHON
}
void ValueExprTestCase::tearDown()
{
-#ifndef NOT_FOR_PYTHON
- expr_t::shutdown();
-#endif // NOT_FOR_PYTHON
amount_t::shutdown();
}