summaryrefslogtreecommitdiff
path: root/test/Interactive
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 04:09:11 -0800
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 04:09:11 -0800
commit475e92e165faa762de60bcf64c96ecab7417dd50 (patch)
tree079546afb1d6be21831851837d10f4af1d738018 /test/Interactive
parente45ba445a1140cfa4d7836f54f2e6b8d9a5c7325 (diff)
downloadscons-475e92e165faa762de60bcf64c96ecab7417dd50.tar.gz
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 842a12e5..40df86fa 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', """\