#24095 closed Bug (fixed)
WarningLoggerTests leaks a logging filters
Description ¶
It seems that because the warnings.filterwarnings('always')
in the setUp()
method isn't in a warnings.catch_warnings()
block, that filter isn't cleaned up.
Running:
python -Wall runtests.py logging_tests.tests.WarningLoggerTests template_tests.syntax_tests.test_numpy
results in numpy deprecation warnings even though they are explicitly silenced in the numpy tests.
Change History (3)
comment:1 by , 10 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In ade985999657eaef6a9510c2aeba9b2196d7bf6e: