summaryrefslogtreecommitdiffstats
path: root/test/Split.py
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-01-24 16:36:12 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-01-24 16:36:12 (GMT)
commit36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078 (patch)
tree9d10b6f009624a613c6a78b71736d0416849f329 /test/Split.py
parent358c0de48a7d9fecdb30e24505c066506dfcdeff (diff)
downloadSCons-36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078.zip
SCons-36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078.tar.gz
SCons-36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078.tar.bz2
Resolving a batch of failing tests for python 2.7.
Note: please evaluate python 3.X compliance.
Diffstat (limited to 'test/Split.py')
-rw-r--r--test/Split.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Split.py b/test/Split.py
index e98e299..c0533fa 100644
--- a/test/Split.py
+++ b/test/Split.py
@@ -30,19 +30,19 @@ test = TestSCons.TestSCons()
test.write('SConstruct', """
env = Environment(BBB = 'bbb', CCC = 'ccc')
-print Split('aaa')
-print Split('aaa $BBB')
-print env.Split('bbb $CCC')
-print env.Split('$BBB ccc')
-print Split(['ddd', 'eee'])
+print(Split('aaa'))
+print(Split('aaa $BBB'))
+print(env.Split('bbb $CCC'))
+print(env.Split('$BBB ccc'))
+print(Split(['ddd', 'eee']))
SConscript('SConscript')
""")
test.write('SConscript', """
env = Environment(FFF='fff', JJJ='jjj')
-print env.Split('${FFF}.f')
-print Split('ggg hhh')
-print env.Split(['iii', '$JJJ'])
+print(env.Split('${FFF}.f'))
+print(Split('ggg hhh'))
+print(env.Split(['iii', '$JJJ']))
""")
expect = """\