Skip to content

Commit 34dc577

Browse files
authored
fix dask meta and output_dtypes error (#5449)
1 parent ce01f42 commit 34dc577

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xarray/tests/test_computation.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,10 @@ def test_vectorize_dask_dtype_without_output_dtypes(data_array):
13061306
assert expected.dtype == actual.dtype
13071307

13081308

1309-
@pytest.mark.xfail(LooseVersion(dask.__version__) < "2.3", reason="dask GH5274")
1309+
@pytest.mark.skipif(
1310+
LooseVersion(dask.__version__) > "2021.06",
1311+
reason="dask/dask#7669: can no longer pass output_dtypes and meta",
1312+
)
13101313
@requires_dask
13111314
def test_vectorize_dask_dtype_meta():
13121315
# meta dtype takes precedence

0 commit comments

Comments
 (0)