(self)
| 6305 | save_mfdataset([ds, ds], ["only one path"]) |
| 6306 | |
| 6307 | def test_save_mfdataset_invalid_dataarray(self) -> None: |
| 6308 | # regression test for GH1555 |
| 6309 | da = DataArray([1, 2]) |
| 6310 | with pytest.raises(TypeError, match=r"supports writing Dataset"): |
| 6311 | save_mfdataset([da], ["dataarray"]) |
| 6312 | |
| 6313 | def test_save_mfdataset_pathlib_roundtrip(self) -> None: |
| 6314 | original = Dataset({"foo": ("x", np.random.randn(10))}) |
nothing calls this directly
no test coverage detected