From 48074f8237304d335e8699f5d544fdfe02eb103c Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Thu, 9 Mar 2017 23:27:13 -0800 Subject: Use print() function to fix py2/3 --- test/VariantDir/reflect.py | 8 ++++++-- 1 file 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 = """ -- cgit v0.12