From e51a369905094ed264f208b0caf409c12774712d Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Thu, 18 Jul 2024 11:56:15 -0400 Subject: [PATCH] use `.all()` Co-authored-by: Brett Graham --- asdf/_tests/tags/core/tests/test_ndarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asdf/_tests/tags/core/tests/test_ndarray.py b/asdf/_tests/tags/core/tests/test_ndarray.py index 226b34702..031dd4948 100644 --- a/asdf/_tests/tags/core/tests/test_ndarray.py +++ b/asdf/_tests/tags/core/tests/test_ndarray.py @@ -397,7 +397,7 @@ def test_mask_roundtrip(mask, tmp_path): # assert_array_equal ignores the mask, so use equality here assert (tree["masked"] == af["masked"]).all() # ensure tree validity - assert af["unmasked"] == af["masked"].data + assert (af["unmasked"] == af["unmasked"]).all() assert len(af._blocks.blocks) == 2