(map_ds)
| 1490 | |
| 1491 | |
| 1492 | def test_map_blocks_errors_bad_template_2(map_ds): |
| 1493 | with pytest.raises(ValueError, match=r"unexpected data variables {'xyz'}"): |
| 1494 | xr.map_blocks(lambda x: x.assign(xyz=1), map_ds, template=map_ds).compute() |
| 1495 | |
| 1496 | |
| 1497 | @pytest.mark.parametrize("obj", [make_da(), make_ds()]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…