Skip to content

Commit 9b1d449

Browse files
committed
xfail
1 parent 428ee84 commit 9b1d449

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_common.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ def test_to_device_host(library):
9191
@pytest.mark.parametrize("target_library", is_array_functions.keys())
9292
@pytest.mark.parametrize("source_library", is_array_functions.keys())
9393
def test_asarray_cross_library(source_library, target_library, request):
94-
if source_library == "dask.array" and target_library == "torch":
94+
if (
95+
(source_library == "dask.array" and target_library == "torch")
96+
or (source_library == "torch" and target_library == "dask.array")
97+
):
9598
# Allow rest of test to execute instead of immediately xfailing
9699
# xref https://github.com/pandas-dev/pandas/issues/38902
97100

0 commit comments

Comments
 (0)