Some of the numpy.testing assert functions call the input x and y,
others call it actual and desired:
>> actual = np.array([1+1j])
>> desired = np.array([2+2j])
>> assert_almost_equal(actual, desired)
AssertionError: Items are not equal:
ACTUAL: [ 1.+1.j]
DESIRED: [ 2.+2.j]
>> assert_almost_equ
On Thu, Jun 3, 2010 at 10:07 AM, Keith Goodman wrote:
> Some of the numpy.testing assert functions call the input x and y,
> others call it actual and desired:
>
>>> actual = np.array([1+1j])
>>> desired = np.array([2+2j])
>
>>> assert_almost_equal(actual, desired)
>
> AssertionError: Items are n