diff options
-rwxr-xr-x | tools/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test.py b/tools/test.py index e94ad24f8..a8dc89493 100755 --- a/tools/test.py +++ b/tools/test.py @@ -235,9 +235,9 @@ class TapProgressIndicator(SimpleProgressIndicator): command = basename(output.command[1]) if output.UnexpectedOutput(): print 'not ok %i - %s' % (self._done, command) - for l in output.output.stderr.split(os.linesep): + for l in output.output.stderr.splitlines(): print '#' + l - for l in output.output.stdout.split(os.linesep): + for l in output.output.stdout.splitlines(): print '#' + l else: print 'ok %i - %s' % (self._done, command) |