mirror of
https://github.com/jazzband/django-discover-jenkins.git
synced 2026-03-16 22:20:28 +00:00
Merge pull request #17 from arthur-debert/ascii-blowup-results
Fixed result when failure message has non ascii text
This commit is contained in:
commit
9d6f93ac9a
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class XMLTestResult(TextTestResult):
|
|||
'message': smart_text(test_info.err[1])
|
||||
}))
|
||||
document.characters(self._exc_info_to_string(
|
||||
test_info.err, test_info.test_method))
|
||||
test_info.err, test_info.test_method).decode('utf-8'))
|
||||
document.endElement('failure')
|
||||
elif test_info.result == \
|
||||
TestInfo.RESULT.UNEXPECTED_SUCCESS:
|
||||
|
|
|
|||
Loading…
Reference in a new issue