summaryrefslogtreecommitdiff
path: root/selftest/subunithelper.py
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/subunithelper.py')
-rw-r--r--selftest/subunithelper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py
index d0bb0bb533..06e1fc2edc 100644
--- a/selftest/subunithelper.py
+++ b/selftest/subunithelper.py
@@ -66,7 +66,7 @@ def parse_results(msg_ops, statistics, fh):
break
else:
reason += l
-
+
if not terminated:
statistics['TESTS_ERROR']+=1
msg_ops.end_test(testname, "error", True,
@@ -167,7 +167,7 @@ class SubunitOps(object):
def end_test(self, name, result, reason=None):
if reason:
print "%s: %s [" % (result, name)
- print "%s" % reason
+ print reason
print "]"
else:
print "%s: %s" % (result, name)