Skip to content

Commit 187c39f

Browse files
committed
fix: data.data needed for comparison in masked array
maybe a numpy 2.0 change?
1 parent 8673477 commit 187c39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/vizier/tests/test_vizier_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,4 @@ def test_query_constraints(self):
154154
# row_limit is taken in account
155155
assert len(result) == 3
156156
# the criteria is respected
157-
assert np.all(np.isclose(result["mB2"], 14.7, rtol=1e-09, atol=1e-09))
157+
assert np.all(np.isclose(result["mB2"].data.data, 14.7, rtol=1e-09, atol=1e-09))

0 commit comments

Comments
 (0)