summaryrefslogtreecommitdiff
path: root/test/regress/B21BF389.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/B21BF389.py')
-rw-r--r--test/regress/B21BF389.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/regress/B21BF389.py b/test/regress/B21BF389.py
new file mode 100644
index 00000000..707ce340
--- /dev/null
+++ b/test/regress/B21BF389.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+from __future__ import print_function, unicode_literals
+
+import ledger
+
+for post in ledger.read_journal(__file__.replace(".py", "_py.test")).query("income"):
+ print(unicode(post.tag("Reference")))