Skip to content

Commit

Permalink
fix dask meta and output_dtypes error (pydata#5449)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathause authored Jun 7, 2021
1 parent ce01f42 commit 34dc577
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xarray/tests/test_computation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,10 @@ def test_vectorize_dask_dtype_without_output_dtypes(data_array):
assert expected.dtype == actual.dtype


@pytest.mark.xfail(LooseVersion(dask.__version__) < "2.3", reason="dask GH5274")
@pytest.mark.skipif(
LooseVersion(dask.__version__) > "2021.06",
reason="dask/dask#7669: can no longer pass output_dtypes and meta",
)
@requires_dask
def test_vectorize_dask_dtype_meta():
# meta dtype takes precedence
Expand Down

0 comments on commit 34dc577

Please sign in to comment.