summaryrefslogtreecommitdiff
path: root/test/overrides.py
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-01-24 16:36:12 +0000
committerWilliam Blevins <wblevins001@gmail.com>2016-01-24 16:36:12 +0000
commit930ae0b1dd083b37bec64c8fa6055792be2a2116 (patch)
tree9d10b6f009624a613c6a78b71736d0416849f329 /test/overrides.py
parent6f1a00e0e368ce59e2a8b6b4a088e48f463fe94e (diff)
downloadscons-930ae0b1dd083b37bec64c8fa6055792be2a2116.tar.gz
Resolving a batch of failing tests for python 2.7.
Note: please evaluate python 3.X compliance.
Diffstat (limited to 'test/overrides.py')
-rw-r--r--test/overrides.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/overrides.py b/test/overrides.py
index d706ab76..69d5207e 100644
--- a/test/overrides.py
+++ b/test/overrides.py
@@ -35,9 +35,9 @@ _python_ = TestSCons._python_
test.write('SConstruct', """
env = Environment(CCFLAGS='-DFOO', LIBS=['a'])
def build(target, source, env):
- print "env['CC'] =", env['CC']
- print "env['CCFLAGS'] =", env['CCFLAGS']
- print "env['LIBS'] =", env['LIBS']
+ print("env['CC'] =", env['CC'])
+ print("env['CCFLAGS'] =", env['CCFLAGS'])
+ print("env['LIBS'] =", env['LIBS'])
builder = Builder(action=build, CC='buildcc', LIBS='buildlibs')
env['BUILDERS']['Build'] = builder