summaryrefslogtreecommitdiffstats
path: root/test/SCONS_LIB_DIR.py
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-10 06:34:46 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-10 06:34:46 (GMT)
commite179b10881ed0e61226a500ef45e35b76dbe2b4b (patch)
tree2d2eea6d4aec6deaabb0ff73c2399ebad778b892 /test/SCONS_LIB_DIR.py
parent85e7b4542ee2cf378db46a09e7d0b7a1aca802b7 (diff)
downloadSCons-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.py4
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'], """