R. David Murray <rdmur...@bitdance.com> added the comment:

I think there needs to be an easy way to turn off the warnings while running 
tests, as well.  I don't want to be bothered by those messages when testing 
parts of my package that are consciously using the provisional features.

But really, I agree with Guido: if this were opt in, and set on by default in 
test harnesses like unittest, that would make sense to me.  Otherwise I think 
we'll be revisiting some of the pain that caused us to make deprecation 
warnings silent by default.

If you don't have tests for your code you should be expecting it to break 
eventually anyway :)

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31742>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to