(obj)
| 227 | dataset = xr.Dataset({"y": variable}, {"x": -array}) |
| 228 | |
| 229 | def twice(obj): |
| 230 | def func(x): |
| 231 | return (x, x) |
| 232 | |
| 233 | return apply_ufunc(func, obj, output_core_dims=[[], []]) |
| 234 | |
| 235 | out0, out1 = twice(array) |
| 236 | assert_identical(out0, array) |
no test coverage detected
searching dependent graphs…