Subunit output formatter doesn't handle layer setup errors
Bug #560259 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.testing |
Fix Released
|
Undecided
|
Sidnei da Silva |
Bug Description
The subunit output formatter that was added recently currently raises NotImplementedError when it's given a generic "error". The error() method on formatters is used to communicate user error (e.g. when the user selects incompatible options), internal framework errors (afaict, only when there's a subprocess read error) and layer setUp errors.
Masking layer setUp errors is pretty bad. The subunit output formatter should report them somehow.
Related branches
lp:~jml/zope.testing/subunit-error
- VCS imports: Pending requested
Changed in zope.testing: | |
assignee: | nobody → Tres Seaver (tseaver) |
Changed in zope.testing: | |
status: | New → In Progress |
Changed in zope.testing: | |
status: | In Progress → Fix Committed |
Changed in zope.testing: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm afraid I don't grok the code being patched at all -- I will let the guy who checked in the original subunit support for you merge your fix.