summaryrefslogtreecommitdiff
path: root/test/Interactive/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Interactive/shell.py')
-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', """\