diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-10 06:34:46 (GMT) |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-10 06:34:46 (GMT) |
commit | e179b10881ed0e61226a500ef45e35b76dbe2b4b (patch) | |
tree | 2d2eea6d4aec6deaabb0ff73c2399ebad778b892 /test/SCONS_LIB_DIR.py | |
parent | 85e7b4542ee2cf378db46a09e7d0b7a1aca802b7 (diff) | |
download | SCons-e179b10881ed0e61226a500ef45e35b76dbe2b4b.zip SCons-e179b10881ed0e61226a500ef45e35b76dbe2b4b.tar.gz SCons-e179b10881ed0e61226a500ef45e35b76dbe2b4b.tar.bz2 |
Use print() function to fix py2/3
Diffstat (limited to 'test/SCONS_LIB_DIR.py')
-rw-r--r-- | test/SCONS_LIB_DIR.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/SCONS_LIB_DIR.py b/test/SCONS_LIB_DIR.py index 95a377a..65ec3de 100644 --- a/test/SCONS_LIB_DIR.py +++ b/test/SCONS_LIB_DIR.py @@ -31,8 +31,10 @@ test = TestSCons.TestSCons() test.subdir('SCons') test.write(['SCons','Script.py'], """ +from __future__ import print_function + def main (): - print "SCons.Script" + print("SCons.Script") """) test.write(['SCons','__init__.py'], """ |