(self)
| 3236 | ) |
| 3237 | |
| 3238 | def test_append_with_no_dims_raises(self) -> None: |
| 3239 | with self.create_zarr_target() as store_target: |
| 3240 | Dataset({"foo": ("x", [1])}).to_zarr( |
| 3241 | store_target, mode="w", **self.version_kwargs |
| 3242 | ) |
| 3243 | with pytest.raises(ValueError, match="different dimension names"): |
| 3244 | Dataset({"foo": ("y", [2])}).to_zarr( |
| 3245 | store_target, mode="a", **self.version_kwargs |
| 3246 | ) |
| 3247 | |
| 3248 | def test_append_with_append_dim_not_set_raises(self) -> None: |
| 3249 | ds, ds_to_append, _ = create_append_test_data() |
nothing calls this directly
no test coverage detected