diff options
| author | Robert Collins <robertc@robertcollins.net> | 2009-10-05 06:20:25 +1100 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2009-10-05 06:20:25 +1100 |
| commit | aa757dce0d1ca43a66a5f008e05699a0230b0d59 (patch) | |
| tree | 15236c95ed2aebd00678d32cfdcb021a85e66713 /python/subunit/content.py | |
| parent | 1bb81bd80c26f41555f676d9f6b164be9c061e61 (diff) | |
| download | subunit-git-aa757dce0d1ca43a66a5f008e05699a0230b0d59.tar.gz | |
Hook addFailure to to details.
Diffstat (limited to 'python/subunit/content.py')
| -rw-r--r-- | python/subunit/content.py | 4 |
1 files changed, 2 insertions, 2 deletions
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(''))]) |
