From e1bba5d977a8b9385e9ffdb05861833485003d23 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 27 Jan 2016 10:44:41 +0100 Subject: Make tests scripts Python 3 compatible --- test/baseline/feat-option_py.test | 4 ++-- test/baseline/feat-value_py.test | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'test/baseline') 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]) -- cgit v1.2.3