summaryrefslogtreecommitdiff
path: root/test/TEMPFILEPREFIX.py
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/TEMPFILEPREFIX.py
parente45ba445a1140cfa4d7836f54f2e6b8d9a5c7325 (diff)
downloadscons-475e92e165faa762de60bcf64c96ecab7417dd50.tar.gz
Use print() function. Fixes py2/3
Diffstat (limited to 'test/TEMPFILEPREFIX.py')
-rw-r--r--test/TEMPFILEPREFIX.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/TEMPFILEPREFIX.py b/test/TEMPFILEPREFIX.py
index 8e756afb..f0743e60 100644
--- a/test/TEMPFILEPREFIX.py
+++ b/test/TEMPFILEPREFIX.py
@@ -38,8 +38,9 @@ test = TestSCons.TestSCons(match = TestSCons.match_re)
test.write('echo.py', """\
#!/usr/bin/env python
+from __future__ import print_function
import sys
-print sys.argv
+print(sys.argv)
""")
echo_py = test.workpath('echo.py')