[Python-Dev] DeprecationWarnings in the regression tests

Barry A. Warsaw barry@zope.com
Mon, 15 Apr 2002 16:39:39 -0400

I wonder if we shouldn't just add

    warnings.filterwarnings('ignore', '', DeprecationWarning)

at the top of regrtest.py?  Seems like with the proliferation of
deprecations, I'm finding I want to add something like this (with the
module parameter added to each file that tests a newly deprecated
feature.  If this is going to be SOP for the test suite, we might as
well kill them all with one fell swoop.