[Numpy-discussion] Set FutureWarnings to error in (dev) tests?

Nathaniel Smith njs at pobox.com
Thu Jan 21 19:15:02 EST 2016


On Thu, Jan 21, 2016 at 4:05 PM, Sebastian Berg
<sebastian at sipsolutions.net> wrote:
> Hi all,
>
> should we try to set FutureWarnings to errors in dev tests? I am
> seriously annoyed by FutureWarnings getting lost all over for two
> reasons. First, it is hard to impossible to find even our own errors
> for our own FutureWarning changes. Secondly, we currently would not
> even see any Futurewarnings from someone else. For numpy that may not
> be a big issue, but still.

Yeah, I noticed this recently too :-(. Definitely it is the right
thing to do, I think. And this is actually more true the more annoying
it is, because if we're triggering lots of FutureWarnings then we
should fix that :-).

-n

-- 
Nathaniel J. Smith -- https://vorpus.org



More information about the NumPy-Discussion mailing list