1. Takafumi Arakaki
  2. nose-numpyseterr


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.