bpo-5846: Deprecate obsolete methods in unittest by erlend-aasland · Pull Request #28299 · python/cpython (original) (raw)

Are all tests warning-free?

If these functions are not used in unittest tests, add special tests, catch DeprecationWarning and check the filename attribute (to ensure that the stacklevel is correct).