nose-numpyseterr /

Filename Size Date modified Message
37 B
46 B
318 B
1.2 KB
475 B
874 B
3.2 KB

This nose plugin set how floating-point errors are handled by numpy

Ever wondered why you get 'Warning: divide by zero encountered in divide' when running nosetest with numpy? Just run nosetest with --npe-all=raise option and you will see why.

See the document of numpy.seterr for the other valid arguments.