exceptions during fixture detail gathering mask original exception
Bug #1368440 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
High
|
Robert Collins |
Bug Description
If a fixture errors when we attempt to gather its details, the result can be that we don't show the original exception. This is (needless to say) bad.
https:/
Changed in testtools: | |
milestone: | none → next |
assignee: | nobody → Robert Collins (lifeless) |
status: | Triaged → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
try:
fixture. setUp()
gather_ details( fixture. getDetails( ), self.getDetails())
except:
raise
is the culprit - note that we don't gather exceptions from gather_details.