[Numpy-discussion] small suggestion for numpy.testing utils

Darren Dale dsdale24@gmail....
Sun Feb 22 17:51:20 CST 2009

On Sun, Feb 22, 2009 at 5:12 PM, Stéfan van der Walt <stefan@sun.ac.za>wrote:

> Hi Darren
> 2009/2/22 Darren Dale <dsdale24@gmail.com>:
> > I am using numpy's assert_array_equal and assert_array_almost_equal to
> unit
> > test my physical quantities package. I made a single minor change to
> > assert_array_compare that I think might make these functions more useful
> to
> > ndarray subclasses, and thought maybe they could be useful to numpy
> itself.
> Your patch makes good sense.  I applied it in r6457.  I'll keep an eye
> on the thread to see if anyone else has further comments.

Pierre just drew my attention to asanyarray, I think that would have been a
better choice for my patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20090222/3f2bc1dd/attachment.html 

More information about the Numpy-discussion mailing list