From 277b86406a952863a2e62f6b6777661e83d407d2 Mon Sep 17 00:00:00 2001 From: Romain Hugonnet Date: Mon, 18 Mar 2024 14:54:54 -0800 Subject: [PATCH] Fix masking test --- tests/test_raster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_raster.py b/tests/test_raster.py index 643970cc..cb88c2d6 100644 --- a/tests/test_raster.py +++ b/tests/test_raster.py @@ -3232,7 +3232,7 @@ def test_reproject(self, mask: gu.Mask) -> None: match="Reprojecting a mask with a resampling method other than 'nearest', " "the boolean array will be converted to float during interpolation.", ): - mask.reproject(resampling="bilinear") + mask.reproject(res=50, resampling="bilinear", force_source_nodata=2) @pytest.mark.parametrize("mask", [mask_landsat_b4, mask_aster_dem, mask_everest]) # type: ignore def test_crop(self, mask: gu.Mask) -> None: