From 694b3126cec09d60f77e6187d63ac7d5b538d620 Mon Sep 17 00:00:00 2001 From: Larry Bradley Date: Mon, 11 Sep 2023 16:01:49 -0400 Subject: [PATCH] Return array from mask test for arraydiff --- regions/shapes/tests/test_masks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/regions/shapes/tests/test_masks.py b/regions/shapes/tests/test_masks.py index 16e00bd9..716b0da9 100644 --- a/regions/shapes/tests/test_masks.py +++ b/regions/shapes/tests/test_masks.py @@ -51,3 +51,4 @@ def test_to_mask(region, mode): except NotImplementedError: pytest.xfail() assert isinstance(mask, RegionMask) + return mask.data.astype(float)