Skip to content

Commit

Permalink
Remove unusued print statement in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet committed Feb 4, 2024
1 parent 633b778 commit a4cac5f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,6 @@ def test_data_setter(self, dtype: str, nodata_init: str | None) -> None:
with pytest.warns(UserWarning, match="Unmasked values equal to the nodata value found in data array.*"):
# Issue during numerical operation
new_raster = raster + 1
print(new_raster.data[0, 0])
print(new_raster.nodata)
assert new_raster.data.mask[0, 0]

@pytest.mark.parametrize("example", [aster_dem_path, landsat_b4_path, landsat_rgb_path]) # type: ignore
Expand Down Expand Up @@ -4200,8 +4198,6 @@ def test_ufunc_methods(self, method_str):
output_rst = ufunc_2nin_1nout((rst1, rst2, rst3))
output_ma = ufunc_2nin_1nout((ma1, ma2, ma3))

print(np.shape(output_ma))
print(np.shape(output_rst.data))
assert np.ma.allequal(output_rst.data, output_ma)

# Methods reduce only supports function that output a single value
Expand Down

0 comments on commit a4cac5f

Please sign in to comment.