diff options
author | Stefan Zimmermann <zimmermann.code@gmail.com> | 2014-03-31 16:24:42 +0000 |
---|---|---|
committer | Stefan Zimmermann <zimmermann.code@gmail.com> | 2014-03-31 16:24:42 +0000 |
commit | 22ef96486b611cdef71bb8d88b441ebb98dd7e21 (patch) | |
tree | ff268c97886e3cc905115185a35405b3fd83348a /test/AddOption | |
parent | 39896dee457418dda22ccf5f0ac5016c8ba0545e (diff) | |
parent | 24c054e57396b0386bbe835021414ebc9869acbc (diff) | |
download | scons-22ef96486b611cdef71bb8d88b441ebb98dd7e21.tar.gz |
Merged with [default]
Diffstat (limited to 'test/AddOption')
-rw-r--r-- | test/AddOption/help.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/AddOption/help.py b/test/AddOption/help.py index d50e5954..7b886cb9 100644 --- a/test/AddOption/help.py +++ b/test/AddOption/help.py @@ -20,6 +20,7 @@ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +from __future__ import print_function __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" @@ -57,10 +58,10 @@ lines = test.stdout().split('\n') missing = [e for e in expected_lines if e not in lines] if missing: - print "====== STDOUT:" - print test.stdout() - print "====== Missing the following lines in the above AddOption() help output:" - print "\n".join(missing) + print("====== STDOUT:") + print(test.stdout()) + print("====== Missing the following lines in the above AddOption() help output:") + print("\n".join(missing)) test.fail_test() test.unlink('SConstruct') @@ -70,10 +71,10 @@ lines = test.stdout().split('\n') unexpected = [e for e in expected_lines if e in lines] if unexpected: - print "====== STDOUT:" - print test.stdout() - print "====== Unexpected lines in the above non-AddOption() help output:" - print "\n".join(unexpected) + print("====== STDOUT:") + print(test.stdout()) + print("====== Unexpected lines in the above non-AddOption() help output:") + print("\n".join(unexpected)) test.fail_test() test.pass_test() |