diff options
author | William Blevins <wblevins001@gmail.com> | 2016-01-24 16:36:12 (GMT) |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-01-24 16:36:12 (GMT) |
commit | 36d36e8dbf9e43c412f7a52a38dc1f9d9e8bb078 (patch) | |
tree | 9d10b6f009624a613c6a78b71736d0416849f329 /test/WhereIs.py | |
parent | 358c0de48a7d9fecdb30e24505c066506dfcdeff (diff) | |
download | SCons-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/WhereIs.py')
-rw-r--r-- | test/WhereIs.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/WhereIs.py b/test/WhereIs.py index 07c3f6c..c765848 100644 --- a/test/WhereIs.py +++ b/test/WhereIs.py @@ -67,14 +67,14 @@ pathdirs_1243 = [ test.workpath('sub1'), test.write('SConstruct', """ SConscript('%s') env = Environment() -print WhereIs('xxx.exe') -print WhereIs('xxx.exe', %s) -print env.WhereIs('xxx.exe', %s) -print WhereIs('xxx.exe', %s) -print WhereIs('xxx.exe', %s) -print WhereIs('xxx.exe', %s, reject=%s) +print(WhereIs('xxx.exe')) +print(WhereIs('xxx.exe', %s)) +print(env.WhereIs('xxx.exe', %s)) +print(WhereIs('xxx.exe', %s)) +print(WhereIs('xxx.exe', %s)) +print(WhereIs('xxx.exe', %s, reject=%s)) env.Replace( XXXNAME='xxx.exe' ) -print env.WhereIs( '$XXXNAME', %s ) +print(env.WhereIs( '$XXXNAME', %s )) """ % (subdir_SConscript, repr(os.pathsep.join(pathdirs_1234)), repr(os.pathsep.join(pathdirs_1243)), @@ -87,11 +87,11 @@ print env.WhereIs( '$XXXNAME', %s ) test.write(subdir_SConscript, """ env = Environment() -print WhereIs('xxx.exe') -print WhereIs('xxx.exe', %s) -print env.WhereIs('xxx.exe', %s) -print WhereIs('xxx.exe', %s) -print WhereIs('xxx.exe', %s) +print(WhereIs('xxx.exe')) +print(WhereIs('xxx.exe', %s)) +print(env.WhereIs('xxx.exe', %s)) +print(WhereIs('xxx.exe', %s)) +print(WhereIs('xxx.exe', %s)) """ % (repr(os.pathsep.join(pathdirs_1234)), repr(os.pathsep.join(pathdirs_1243)), repr(pathdirs_1234), |