(self)
| 6347 | ) |
| 6348 | |
| 6349 | def test_open_and_do_math(self) -> None: |
| 6350 | original = Dataset({"foo": ("x", np.random.randn(10))}) |
| 6351 | with create_tmp_file() as tmp: |
| 6352 | original.to_netcdf(tmp) |
| 6353 | with open_mfdataset(tmp, combine="by_coords") as ds: |
| 6354 | actual = 1.0 * ds |
| 6355 | assert_allclose(original, actual, decode_bytes=False) |
| 6356 | |
| 6357 | @pytest.mark.parametrize( |
| 6358 | "kwargs", |
nothing calls this directly
no test coverage detected