You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's the test: xarray/tests/test_computation.py::test_vectorize_dask_dtype_meta
References
----------
.. [1] https://docs.scipy.org/doc/numpy/reference/ufuncs.html
.. [2] https://docs.scipy.org/doc/numpy/reference/c-api/generalized-ufuncs.html
"""
# Input processing:
## Signature
if not isinstance(signature, str):
raise TypeError("`signature` has to be of type string")
input_coredimss, output_coredimss = _parse_gufunc_signature(signature)
## Determine nout: nout = None for functions of one direct return; nout = int for return tuples
nout = None if not isinstance(output_coredimss, list) else len(output_coredimss)
## Consolidate onto `meta`
if meta is not None and output_dtypes is not None:
> raise ValueError(
"Only one of `meta` and `output_dtypes` should be given (`meta` is preferred)."
)
E ValueError: Only one of `meta` and `output_dtypes` should be given (`meta` is preferred).
Should we xfail this? Does anyone have thoughts for a quick fix?
The text was updated successfully, but these errors were encountered:
What happened:
We have a failure related to a dask release, I think. Here's a job that failed: https://github.com/pydata/xarray/pull/5365/checks?check_run_id=2757459587
It's the test:
xarray/tests/test_computation.py::test_vectorize_dask_dtype_meta
Should we xfail this? Does anyone have thoughts for a quick fix?
The text was updated successfully, but these errors were encountered: