Ticket #2626 (closed enhancement: fixed)
trial needs something to check DeprecationWarning
| Reported by: | therve | Owned by: | therve |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | trial | Keywords: | |
| Cc: | exarkun, jml, therve, ralphm | Branch: | |
| Author: | Launchpad Bug: |
Description
There is a method in test_process.ProcessTestCase that asserts that a function call produce a warning. It's a bit like util.supress, but with checking the content of the warning, and I think that would be great for the deprecation policy.
Change History
Note: See
TracTickets for help on using
tickets.
