summaryrefslogtreecommitdiffstats
path: root/test/CPPDEFINES/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CPPDEFINES/basic.py')
-rw-r--r--test/CPPDEFINES/basic.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CPPDEFINES/basic.py b/test/CPPDEFINES/basic.py
index b54a421..57d7260 100644
--- a/test/CPPDEFINES/basic.py
+++ b/test/CPPDEFINES/basic.py
@@ -41,13 +41,13 @@ test_list = [
]
for i in test_list:
env = Environment(CPPDEFPREFIX='-D', CPPDEFSUFFIX='', INTEGER=0)
- print env.Clone(CPPDEFINES=i).subst('$_CPPDEFFLAGS')
+ print(env.Clone(CPPDEFINES=i).subst('$_CPPDEFFLAGS'))
for i in test_list:
env = Environment(CPPDEFPREFIX='|', CPPDEFSUFFIX='|', INTEGER=1)
- print env.Clone(CPPDEFINES=i).subst('$_CPPDEFFLAGS')
+ print(env.Clone(CPPDEFINES=i).subst('$_CPPDEFFLAGS'))
""")
-expect = test.wrap_stdout(build_str="scons: `.' is up to date.\n",
+expect = test.wrap_stdout(build_str="scons: `.' is up to date.\n",
read_str = """\
-Dxyz
-Dx -Dy -Dz