diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 04:09:11 -0800 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 04:09:11 -0800 |
commit | 475e92e165faa762de60bcf64c96ecab7417dd50 (patch) | |
tree | 079546afb1d6be21831851837d10f4af1d738018 /test/TEMPFILEPREFIX.py | |
parent | e45ba445a1140cfa4d7836f54f2e6b8d9a5c7325 (diff) | |
download | scons-475e92e165faa762de60bcf64c96ecab7417dd50.tar.gz |
Use print() function. Fixes py2/3
Diffstat (limited to 'test/TEMPFILEPREFIX.py')
-rw-r--r-- | test/TEMPFILEPREFIX.py | 3 |
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') |