(self, region)
| 7792 | ], |
| 7793 | ) |
| 7794 | def test_zarr_region_auto(self, region): |
| 7795 | with self.create() as (target, ds): |
| 7796 | ds_region = 1 + ds.isel(x=slice(2, 4), y=slice(6, 8)) |
| 7797 | self.save(target, ds_region, region=region) |
| 7798 | ds_updated = xr.open_zarr(target) |
| 7799 | |
| 7800 | expected = ds.copy() |
| 7801 | expected["test"][2:4, 6:8] += 1 |
| 7802 | assert_identical(ds_updated, expected) |
| 7803 | |
| 7804 | def test_zarr_region_auto_noncontiguous(self): |
| 7805 | with self.create() as (target, ds): |
nothing calls this directly
no test coverage detected