Skip to content

Commit

Permalink
Fix masking test
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet committed Mar 18, 2024
1 parent 56ff1ea commit 277b864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 277b864

Please sign in to comment.