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