diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-10 07:27:13 (GMT) |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-10 07:27:13 (GMT) |
commit | 48074f8237304d335e8699f5d544fdfe02eb103c (patch) | |
tree | b23cb7b6d055a8a12db5625508b5a082ee7e0c3a /test/VariantDir | |
parent | 2ff5df2eb4e694e1c7e53fab71e0125d277c111e (diff) | |
download | SCons-48074f8237304d335e8699f5d544fdfe02eb103c.zip SCons-48074f8237304d335e8699f5d544fdfe02eb103c.tar.gz SCons-48074f8237304d335e8699f5d544fdfe02eb103c.tar.bz2 |
Use print() function to fix py2/3
Diffstat (limited to 'test/VariantDir')
-rw-r--r-- | test/VariantDir/reflect.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/VariantDir/reflect.py b/test/VariantDir/reflect.py index ea5689a..72f3af7 100644 --- a/test/VariantDir/reflect.py +++ b/test/VariantDir/reflect.py @@ -44,11 +44,15 @@ _python_ = TestSCons._python_ re_python = re.escape(TestSCons._python_) test.write("mycc.py", """ -print 'Compile' +from __future__ import print_function + +print('Compile') """) test.write("mylink.py", """ -print 'Link' +from __future__ import print_function + +print('Link') """) sconstruct = """ |