()
| 1508 | |
| 1509 | |
| 1510 | def test_map_blocks_hlg_layers(): |
| 1511 | # regression test for #3599 |
| 1512 | ds = xr.Dataset( |
| 1513 | { |
| 1514 | "x": (("a",), dask.array.ones(10, chunks=(5,))), |
| 1515 | "z": (("b",), dask.array.ones(10, chunks=(5,))), |
| 1516 | } |
| 1517 | ) |
| 1518 | mapped = ds.map_blocks(lambda x: x) |
| 1519 | |
| 1520 | xr.testing.assert_equal(mapped, ds) |
| 1521 | |
| 1522 | |
| 1523 | def test_make_meta(map_ds): |
nothing calls this directly
no test coverage detected
searching dependent graphs…