Crash when subunit reports test failures containing UTF8-encoded data
Bug #591309 reported by
Māris Fogels
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.testing |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using subunit-formatted output, if a test failure or error contains UTF8-encoded bytes, the testrunner will crash.
Presumably this crash results from subunit trying to format failures in UTF8-encoded doctests.
Related branches
lp:~mars/zope.testing/fix-subunit-utf8-traceback-reporting
Merged
into
lp:zope.testing
- Benji York (community): Approve
- Sidnei da Silva: Approve
-
Diff: 122 lines (+79/-3)3 files modifiedsrc/zope/testing/testrunner/formatter.py (+16/-3)
src/zope/testing/testrunner/test_subunit.py (+59/-0)
src/zope/testing/testrunner/tests.py (+4/-0)
Changed in zope.testing: | |
status: | New → Fix Committed |
To post a comment you must log in.
Released in zope.testrunner 4.0.0b5.