Guido van Rossum <gu...@python.org> added the comment: Closing. We now have a context manager based solution for saving, changing and restoring warning filters.
http://docs.python.org/library/warnings.html#testing-warnings (I just came across this issue looking for such a solution. :-) ---------- nosy: +gvanrossum resolution: -> rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1214675> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com