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

Stéfan van der Walt stefan at sun.ac.za
Sun Feb 22 17:12:21 EST 2009


Hi Darren

2009/2/22 Darren Dale <dsdale24 at 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.

Thanks!
Stéfan



More information about the NumPy-Discussion mailing list