summaryrefslogtreecommitdiff
path: root/test/baseline
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline')
-rw-r--r--test/baseline/feat-option_py.test4
-rw-r--r--test/baseline/feat-value_py.test3
2 files changed, 4 insertions, 3 deletions
diff --git a/test/baseline/feat-option_py.test b/test/baseline/feat-option_py.test
index 1b2a0c79..77a75660 100644
--- a/test/baseline/feat-option_py.test
+++ b/test/baseline/feat-option_py.test
@@ -1,9 +1,9 @@
python
def option_pyfirst(context):
- print "In --pyfirst (from %s)" % context
+ print("In --pyfirst (from %s)" % context)
def option_pysecond(context, val):
- print "In --pysecond=%s (from %s)" % (val, context)
+ print("In --pysecond=%s (from %s)" % (val, context))
--pyfirst
--pysecond Hey
diff --git a/test/baseline/feat-value_py.test b/test/baseline/feat-value_py.test
index 5efe315d..2f351d2a 100644
--- a/test/baseline/feat-value_py.test
+++ b/test/baseline/feat-value_py.test
@@ -1,6 +1,7 @@
python
+ from __future__ import print_function
def print_type(val):
- print type(val), val
+ print(type(val), val)
eval print_type(true)
eval print_type([2010/08/10])