Efficent Filtering of Third-Party Deprecation Warnings in pytest
If you’ve spent any time maintaining a Python project with a non-trivial dependency tree, you’ve probably accumulated a
filterwarnings
block full of one-off
ignore
patterns — one for
ninja_extra
, one for
asyncio
, one for some SWIG-generated type you’ve …