summaryrefslogtreecommitdiffstats
path: root/test/Exit.py
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2016-01-01 15:59:23 (GMT)
committerRussel Winder <russel@winder.org.uk>2016-01-01 15:59:23 (GMT)
commit3f637329635c089bdca30bb4b0e23334d12866b3 (patch)
tree4b30c7fe89b85380b9c825c906e2745c4d7c96d1 /test/Exit.py
parent7b68ccb54e7b4d2200f8ac813eb6f8b2ae3654eb (diff)
downloadSCons-3f637329635c089bdca30bb4b0e23334d12866b3.zip
SCons-3f637329635c089bdca30bb4b0e23334d12866b3.tar.gz
SCons-3f637329635c089bdca30bb4b0e23334d12866b3.tar.bz2
Some more statement to function transforms.
Diffstat (limited to 'test/Exit.py')
-rw-r--r--test/Exit.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Exit.py b/test/Exit.py
index 877a0b6..394ee2f 100644
--- a/test/Exit.py
+++ b/test/Exit.py
@@ -40,7 +40,7 @@ subdir_foo_in = os.path.join('subdir', 'foo.in')
subdir_foo_out = os.path.join('subdir', 'foo.out')
test.write('SConstruct', """\
-print "SConstruct, Exit()"
+print("SConstruct, Exit()")
Exit()
""")
@@ -51,7 +51,7 @@ SConstruct, Exit()
test.write('SConstruct', """\
env = Environment()
-print "SConstruct, env.Exit()"
+print("SConstruct, env.Exit()")
env.Exit()
""")
@@ -61,7 +61,7 @@ SConstruct, env.Exit()
""")
test.write('SConstruct', """\
-print "SConstruct"
+print("SConstruct")
Exit(7)
""")
@@ -71,12 +71,12 @@ SConstruct
""")
test.write('SConstruct', """\
-print "SConstruct"
+print("SConstruct")
SConscript('subdir/SConscript')
""")
test.write(['subdir', 'SConscript'], """\
-print "subdir/SConscript"
+print("subdir/SConscript")
Exit()
""")
@@ -87,7 +87,7 @@ subdir/SConscript
""")
test.write(['subdir', 'SConscript'], """\
-print "subdir/SConscript"
+print("subdir/SConscript")
Exit(17)
""")