The test suite should be deprecation-warning clean
|Reported by:||carljm||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Right now running the test suite with -Wall results in quite a few warnings. Really, when we deprecate something, we should modify its tests to use the catch_warnings context manager and test for the deprecation warning, as well as preventing it from bubbling up to the test suite.
Unfortunately catch_warnings is Python 2.6+. Since this probably isn't important enough to warrant a backport, just leaving this ticket as a reminder to clean this up once we hit 2.6 as minimum supported Python version.
Change History (6)
comment:1 Changed 5 years ago by Alex
- Component changed from Uncategorized to Testing framework
- Triage Stage changed from Unreviewed to Accepted
- Version changed from 1.3 to SVN