Ticket #2703 (closed enhancement: fixed)
assertWarns has some restrictions
| Reported by: | therve | Owned by: | therve |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | exarkun | Branch: | |
| Author: | Launchpad Bug: |
Description (last modified by therve) (diff)
First uses of assertWarns have shown some limits:
- it can't be used to check warnings emitted by class instantiation or implicit __call__ method
- it doesn't work with warnings filtered by default like PendingDeprecationWarning
Change History
Note: See
TracTickets for help on using
tickets.
