diff options
Diffstat (limited to 'python/subunit/__init__.py')
| -rw-r--r-- | python/subunit/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/subunit/__init__.py b/python/subunit/__init__.py index 4cb273b..a981a82 100644 --- a/python/subunit/__init__.py +++ b/python/subunit/__init__.py @@ -266,7 +266,8 @@ class _InTest(_ParserState): self.parser.stdOutLineReceived(line) def _error(self): - self.parser.client.addError(self.parser._current_test, RemoteError("")) + self.parser.client.addError(self.parser._current_test, + details={}) def addError(self, offset, line): """An 'error:' directive has been read.""" @@ -373,7 +374,7 @@ class _ReadingErrorDetails(_ReadingDetails): def _report_outcome(self): self.parser.client.addError(self.parser._current_test, - RemoteError(self.details_parser.get_message())) + details=self.details_parser.get_details()) def _outcome_label(self): return "error" |
