(self)
| 3225 | modified.to_zarr(store, mode="r+", **self.version_kwargs) |
| 3226 | |
| 3227 | def test_append_with_invalid_dim_raises(self) -> None: |
| 3228 | ds, ds_to_append, _ = create_append_test_data() |
| 3229 | with self.create_zarr_target() as store_target: |
| 3230 | ds.to_zarr(store_target, mode="w", **self.version_kwargs) |
| 3231 | with pytest.raises( |
| 3232 | ValueError, match="does not match any existing dataset dimensions" |
| 3233 | ): |
| 3234 | ds_to_append.to_zarr( |
| 3235 | store_target, append_dim="notvalid", **self.version_kwargs |
| 3236 | ) |
| 3237 | |
| 3238 | def test_append_with_no_dims_raises(self) -> None: |
| 3239 | with self.create_zarr_target() as store_target: |
nothing calls this directly
no test coverage detected