diff options
-rw-r--r-- | selftest/subunithelper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py index 163f2ba7db..5128d4a63a 100644 --- a/selftest/subunithelper.py +++ b/selftest/subunithelper.py @@ -285,7 +285,7 @@ class FilterOps(testtools.testresult.TestResult): self.xfail_added+=1 self.total_xfail+=1 if details is not None: - details = subunit.RemoteError(details[1].message + xfail_reason.decode("utf-8")) + details = subunit.RemoteError(unicode(details[1]) + xfail_reason.decode("utf-8")) else: details = subunit.RemoteError(xfail_reason.decode("utf-8")) self._ops.addExpectedFailure(test, details) |