(self)
| 3215 | assert_identical(actual, modified) |
| 3216 | |
| 3217 | def test_append_with_mode_rplus_fails(self) -> None: |
| 3218 | original = Dataset({"foo": ("x", [1])}) |
| 3219 | modified = Dataset({"bar": ("x", [2])}) |
| 3220 | with self.create_zarr_target() as store: |
| 3221 | original.to_zarr(store, **self.version_kwargs) |
| 3222 | with pytest.raises( |
| 3223 | ValueError, match="dataset contains non-pre-existing variables" |
| 3224 | ): |
| 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() |
nothing calls this directly
no test coverage detected