Skip to content

Commit e5ee401

Browse files
committed
fix: more array equals
1 parent 062c9ed commit e5ee401

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_shear.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ def test_shear_methods():
236236
# check ==
237237
s = galsim.Shear(g1 = g1[ind], g2 = g2[ind])
238238
s2 = galsim.Shear(g1 = g1[ind], g2 = g2[ind])
239-
np.testing.assert_equal(s == s2, True, err_msg = "Failed to check for equality")
239+
np.testing.assert_array_equal(s == s2, True, err_msg = "Failed to check for equality")
240240
# check !=
241-
np.testing.assert_equal(s != s2, False, err_msg = "Failed to check for equality")
241+
np.testing.assert_array_equal(s != s2, False, err_msg = "Failed to check for equality")
242242

243243

244244
@timer

0 commit comments

Comments
 (0)