[Numpy-discussion] Is this a bug in repr ?

Mark Sienkiewicz sienkiew@stsci....
Wed Mar 16 10:55:46 CDT 2011

>> In that case, would you agree that it is a bug for
>> assert_array_almost_equal to use repr() to display the arrays, since it
>> is printing identical values and saying they are different?  Or is there
>> also a reason to do that?
> It should probably use np.array_repr(x, precision=16)

Ok, thanks - I see the issue.  I'll enter a ticket for an enhancement 
request for assert_array_almost_equal

More information about the NumPy-Discussion mailing list