fix test_lib.py for SkipTest

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
FUJITA Tomonori 2012-06-22 06:40:21 +09:00
parent 150ce63ccf
commit 41296adb69

View File

@ -182,7 +182,7 @@ class RyuTestResult(result.TextTestResult):
if stream is not None: if stream is not None:
if self.showAll: if self.showAll:
message = [label] message = [label]
detail = result._exception_details(err[1]) detail = result._exception_detail(err[1])
if detail: if detail:
message.append(detail) message.append(detail)
stream.writeln(": ".join(message)) stream.writeln(": ".join(message))