• Tim Peters's avatar
    warnings.resetwarnings() should never be called by tests. · 5b356795
    Tim Peters authored
    Doing so wipes out all the warning filters other tests may set
    up to suppress warnings those tests need to provoke but want to
    hide from the entity running the tests.
    
    This stops all the DeprecationWarnings that were displayed from
    the ZODB and ZEO tests when running Zope trunk's test suite.
    5b356795
testDeprecatedAPI.py 2.49 KB