(self)
| 3506 | assert_identical(actual, nonzeros) |
| 3507 | |
| 3508 | def test_region_scalar(self) -> None: |
| 3509 | ds = Dataset({"x": 0}) |
| 3510 | with self.create_zarr_target() as store: |
| 3511 | ds.to_zarr(store) |
| 3512 | ds.to_zarr(store, region={}, mode="r+") |
| 3513 | with xr.open_zarr(store) as actual: |
| 3514 | assert_identical(actual, ds) |
| 3515 | |
| 3516 | @pytest.mark.parametrize("mode", [None, "r+", "a"]) |
| 3517 | def test_write_region_mode(self, mode) -> None: |
nothing calls this directly
no test coverage detected