exceptions during fixture detail gathering mask original exception

Bug #1368440 reported by Robert Collins
6
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://bugs.launchpad.net/nova/+bug/1330763 is where this was observed.

Revision history for this message
Robert Collins (lifeless) wrote :

        try:
            fixture.setUp()
        except:
            gather_details(fixture.getDetails(), self.getDetails())
            raise

is the culprit - note that we don't gather exceptions from gather_details.

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.