summaryrefslogtreecommitdiff
path: root/test/baseline/feat-value_py.test
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2019-12-06 15:42:40 +0000
committerMartin Michlmayr <tbm@cyrius.com>2019-12-07 10:34:57 +0200
commitb935b0ccf8503de8c087d748ebf298458128631f (patch)
treed4dde5fa42877f1598bcdcd21001c8de899fb1c4 /test/baseline/feat-value_py.test
parent1fbb15c7d9f87ce1364ace669d44f747ded9333f (diff)
downloadfork-ledger-b935b0ccf8503de8c087d748ebf298458128631f.tar.gz
fork-ledger-b935b0ccf8503de8c087d748ebf298458128631f.tar.bz2
fork-ledger-b935b0ccf8503de8c087d748ebf298458128631f.zip
test: split value_py.test into py2/py3 versions.
Diffstat (limited to 'test/baseline/feat-value_py.test')
-rw-r--r--test/baseline/feat-value_py.test24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/baseline/feat-value_py.test b/test/baseline/feat-value_py.test
deleted file mode 100644
index 2f351d2a..00000000
--- a/test/baseline/feat-value_py.test
+++ /dev/null
@@ -1,24 +0,0 @@
-python
- from __future__ import print_function
- def print_type(val):
- print(type(val), val)
-
-eval print_type(true)
-eval print_type([2010/08/10])
-eval print_type(10)
-eval print_type($10.00)
-eval print_type($10.00 + CAD 30)
-eval print_type("Hello!")
-eval print_type(/Hello!/)
-;eval print_type((1, 2, 3))
-
-test reg
-<type 'bool'> True
-<type 'datetime.date'> 2010-08-10
-<class 'ledger.Amount'> 10
-<class 'ledger.Amount'> $10.00
-<class 'ledger.Balance'> $10.00
-CAD 30
-<type 'unicode'> Hello!
-<class 'ledger.Value'> Hello!
-end test