summaryrefslogtreecommitdiff
path: root/test/option--C.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/option--C.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/option--C.py')
-rw-r--r--test/option--C.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/option--C.py b/test/option--C.py
index 27f4950e..1df3c1a9 100644
--- a/test/option--C.py
+++ b/test/option--C.py
@@ -51,18 +51,18 @@ test.subdir('sub', ['sub', 'dir'])
test.write('SConstruct', """
import os
-print "SConstruct", os.getcwd()
+print("SConstruct", os.getcwd())
""")
test.write(['sub', 'SConstruct'], """
import os
-print GetBuildPath('..')
+print(GetBuildPath('..'))
""")
test.write(['sub', 'dir', 'SConstruct'], """
import os
env = Environment(FOO='foo', BAR='bar')
-print env.GetBuildPath('../$FOO/$BAR')
+print(env.GetBuildPath('../$FOO/$BAR'))
""")
test.run(arguments = '-C sub .',