()
| 2192 | |
| 2193 | |
| 2194 | def test_where() -> None: |
| 2195 | cond = xr.DataArray([True, False], dims="x") |
| 2196 | actual = xr.where(cond, 1, 0) |
| 2197 | expected = xr.DataArray([1, 0], dims="x") |
| 2198 | assert_identical(expected, actual) |
| 2199 | |
| 2200 | |
| 2201 | def test_where_attrs() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…