On Tue, Jan 18, 2022 at 10:30 AM Brett Cannon <brett@python.org> wrote:I remember that "noisy by default" deprecation warnings were widely despised.One thought, what if they were off by default UNLESS you were doing unit tests?I believe pytest already does this.Indeed it does, at least in recent versions (1-2 yrs ago?)And even that is pretty darn annoying. It's really helpful for my code, but they often get lost in the noise of all the ones I get from upstream packages.I suppose I need to take the time to figure out how to silence the ones I don't want.And it does prompt me to make sure that the upstream packages are working on it.Now we just need to get more people to use pytest :-)
_______________________________________________-CHB--Christopher Barker, PhD (Chris)
Python Language Consulting
- Teaching
- Scientific Software Development
- Desktop GUI and Web Development
- wxPython, numpy, scipy, Cython
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-leave@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/LZAF3TOOIAAFXXK2KPAXA5V5SRBOSIIP/
Code of Conduct: http://python.org/psf/codeofconduct/