[Numpy-discussion] test errors on deprecation/runtime warnings

Stéfan van der Walt stefan@sun.ac...
Fri Feb 17 16:57:53 CST 2012


Hi Ralf

On Thu, Feb 16, 2012 at 11:05 AM, Ralf Gommers
<ralf.gommers@googlemail.com> wrote:
> Last week we merged https://github.com/numpy/numpy/pull/201, which causes
> DeprecationWarning's and RuntimeWarning's to be converted to errors if they
> occur when running the test suite.

It looks like this change affects other packages, too, which may
legitimately raise RuntimeWarnings while running their test suites
(unless I read the patch wrong).  Would it be an option to rather add
a flag (False by default) to enable this behaviour, and enable it
inside of numpy.test() ?

Regards
Stéfan


More information about the NumPy-Discussion mailing list