summaryrefslogtreecommitdiffstats
path: root/test/Interactive
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 12:09:11 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 12:09:11 (GMT)
commitc14936494d79a00b533e7e8ce9a41e5176c1295f (patch)
tree079546afb1d6be21831851837d10f4af1d738018 /test/Interactive
parent055c8046afce036fdfad4bc8d60e4059da148f7d (diff)
downloadSCons-c14936494d79a00b533e7e8ce9a41e5176c1295f.zip
SCons-c14936494d79a00b533e7e8ce9a41e5176c1295f.tar.gz
SCons-c14936494d79a00b533e7e8ce9a41e5176c1295f.tar.bz2
Use print() function. Fixes py2/3
Diffstat (limited to 'test/Interactive')
-rw-r--r--test/Interactive/shell.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Interactive/shell.py b/test/Interactive/shell.py
index 842a12e..40df86f 100644
--- a/test/Interactive/shell.py
+++ b/test/Interactive/shell.py
@@ -40,7 +40,9 @@ shell_command_py = test.workpath('shell_command.py')
_shell_command_py_ = '"%s"' % shell_command_py.replace('\\', '\\\\')
test.write(shell_command_py, """\
-print 'hello from shell_command.py'
+from __future__ import print_function
+
+print('hello from shell_command.py')
""")
test.write('SConstruct', """\