[Numpy-discussion] numpy.testing.asserts and masked array

Ralf Gommers ralf.gommers at gmail.com
Thu Dec 27 16:35:23 EST 2012

On Thu, Dec 27, 2012 at 12:23 AM, Chao YUE <chaoyuejoy at gmail.com> wrote:

> Dear all,
> I found here
> http://mail.scipy.org/pipermail/numpy-discussion/2009-January/039681.html
> that to use* numpy.ma.testutils.assert_almost_equal* for masked array
> assertion, but I cannot find the np.ma.testutils module?
> Am I getting somewhere wrong? my numpy version is 1.6.2 thanks!

"from numpy.ma import testutils" works for me.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20121227/4afe95fc/attachment.html>

More information about the NumPy-Discussion mailing list