Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,17 @@ def test_asarray_cross_library(source_library, target_library, request):
# TODO: remove xfail once
# https://github.com/dask/dask/issues/8260 is resolved
xfail(request, reason="Bug in dask raising error on conversion")

elif (
source_library == "ndonnx"
and target_library not in ("array_api_strict", "ndonnx", "numpy")
):
xfail(request, reason="The truth value of lazy Array Array(dtype=Boolean) is unknown")
elif source_library == "ndonnx" and target_library == "numpy":
xfail(request, reason="produces numpy array of ndonnx scalar arrays")
elif target_library == "ndonnx" and source_library in ("torch", "dask.array", "jax.numpy"):
xfail(request, reason="unable to infer dtype")

elif source_library == "jax.numpy" and target_library == "torch":
xfail(request, reason="casts int to float")
elif source_library == "cupy" and target_library != "cupy":
Expand Down
Loading