Skip to content

Commit b36f5f9

Browse files
committed
fix: more array equals
1 parent f8bf84b commit b36f5f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_wcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ def do_wcs_image(wcs, name, run_slow, approx=False):
359359
dir = os.path.join(os.path.dirname(__file__), 'fits_files')
360360
file_name = 'blankimg.fits'
361361
im = galsim.fits.read(file_name, dir=dir)
362-
np.testing.assert_equal(im.origin.x, 1, "initial origin is not 1,1 as expected")
363-
np.testing.assert_equal(im.origin.y, 1, "initial origin is not 1,1 as expected")
362+
np.testing.assert_array_equal(im.origin.x, 1, "initial origin is not 1,1 as expected")
363+
np.testing.assert_array_equal(im.origin.y, 1, "initial origin is not 1,1 as expected")
364364
im.wcs = wcs
365365
world1 = im.wcs.toWorld(im.origin)
366366
value1 = im(im.origin)

0 commit comments

Comments
 (0)