def test_get_bigger_window_respects_mask(self):
    window = Window(1, 0, 4, 3)
    raster = self.read_only_virtual_geo_raster()
    cropped = raster.get_window(window, masked=True)
    assert cropped.image[:, :, (- 1)].mask.all()
    assert (~ cropped.image[:, :, :(- 1)].mask).all()
def test_get_bigger_window_respects_mask(self):
    window = Window(1, 0, 4, 3)
    raster = self.read_only_virtual_geo_raster()
    cropped = raster.get_window(window, masked=True)
    assert cropped.image[:, :, (- 1)].mask.all()
    assert (~ cropped.image[:, :, :(- 1)].mask).all()