summaryrefslogtreecommitdiff
path: root/test/option-f.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-f.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-f.py')
-rw-r--r--test/option-f.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/option-f.py b/test/option-f.py
index 2a238d3a..9fd1a57e 100644
--- a/test/option-f.py
+++ b/test/option-f.py
@@ -36,17 +36,17 @@ subdir_BuildThis = os.path.join('subdir', 'Buildthis')
test.write('SConscript', """
import os
-print "SConscript " + os.getcwd()
+print("SConscript " + os.getcwd())
""")
test.write(subdir_BuildThis, """
import os
-print "subdir/BuildThis", os.getcwd()
+print("subdir/BuildThis", os.getcwd())
""")
test.write('Build2', """
import os
-print "Build2", os.getcwd()
+print("Build2", os.getcwd())
""")
wpath = test.workpath()
@@ -85,7 +85,7 @@ test.run(arguments = '--sconstruct=%s .' % subdir_BuildThis,
test.run(arguments = '-f - .', stdin = """
import os
-print "STDIN " + os.getcwd()
+print("STDIN " + os.getcwd())
""",
stdout = test.wrap_stdout(read_str = 'STDIN %s\n' % wpath,
build_str = "scons: `.' is up to date.\n"))