(map_ds)
| 1359 | |
| 1360 | |
| 1361 | def test_map_blocks_to_dataarray(map_ds): |
| 1362 | with raise_if_dask_computes(): |
| 1363 | actual = xr.map_blocks(lambda x: x.to_dataarray(), map_ds) |
| 1364 | |
| 1365 | # to_dataarray does not preserve name, so cannot use assert_identical |
| 1366 | assert_equal(actual, map_ds.to_dataarray()) |
| 1367 | |
| 1368 | |
| 1369 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…