Ticket #2899 (closed defect: fixed)
addCleanup should run even if setUp fails.
| Reported by: | jml | Owned by: | jml |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | trial | Keywords: | |
| Cc: | therve | Branch: | branches/addCleanup-2899 |
| Author: | Launchpad Bug: |
Description
Currently, Trial's TestCase provides no way to add tear-down code that runs if setUp fails (pyunit shares this bug). addCleanup, being a new method, should add cleanup functions that run even if tearDown does not.
Change History
Note: See
TracTickets for help on using
tickets.
