summaryrefslogtreecommitdiff
path: root/test/regress/4D9288AE.py
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2016-01-27 10:44:41 +0100
committerJohn Wiegley <johnw@newartisans.com>2019-12-05 15:06:44 +0100
commite1bba5d977a8b9385e9ffdb05861833485003d23 (patch)
tree40876bb3d289ced0fd871e94cc9e79c9e934327b /test/regress/4D9288AE.py
parente264eb618b8eabf9670084f40687af916a63567e (diff)
downloadfork-ledger-e1bba5d977a8b9385e9ffdb05861833485003d23.tar.gz
fork-ledger-e1bba5d977a8b9385e9ffdb05861833485003d23.tar.bz2
fork-ledger-e1bba5d977a8b9385e9ffdb05861833485003d23.zip
Make tests scripts Python 3 compatible
Diffstat (limited to 'test/regress/4D9288AE.py')
-rw-r--r--test/regress/4D9288AE.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/regress/4D9288AE.py b/test/regress/4D9288AE.py
index 4f9c9ba9..20ba566b 100644
--- a/test/regress/4D9288AE.py
+++ b/test/regress/4D9288AE.py
@@ -1,4 +1,6 @@
+from __future__ import print_function
+
import ledger
for post in ledger.read_journal("test/regress/4D9288AE.dat").query("^expenses:"):
- print post.cost
+ print(post.cost)