From aa757dce0d1ca43a66a5f008e05699a0230b0d59 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Mon, 5 Oct 2009 06:20:25 +1100 Subject: Hook addFailure to to details. --- python/subunit/content.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/subunit/content.py') diff --git a/python/subunit/content.py b/python/subunit/content.py index cd3ad60..160a58a 100644 --- a/python/subunit/content.py +++ b/python/subunit/content.py @@ -63,5 +63,5 @@ class TracebackContent(Content): {"language": "python"}) self._result = TestResult() super(TracebackContent, self).__init__(content_type, - lambda:self._result._exc_info_to_string(err, - subunit.RemotedTestCase(''))) + lambda:[self._result._exc_info_to_string(err, + subunit.RemotedTestCase(''))]) -- cgit v1.2.1