Skip to content

Commit b6900df

Browse files
authored
Merge pull request #297 from crusaderky/ndonnx010
TST: bump to ndonnx 0.10.1
2 parents b2af137 + 29f4941 commit b6900df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_common.py

+4
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,17 @@ def test_asarray_cross_library(source_library, target_library, request):
234234
# TODO: remove xfail once
235235
# https://github.com/dask/dask/issues/8260 is resolved
236236
xfail(request, reason="Bug in dask raising error on conversion")
237+
237238
elif (
238239
source_library == "ndonnx"
239240
and target_library not in ("array_api_strict", "ndonnx", "numpy")
240241
):
241242
xfail(request, reason="The truth value of lazy Array Array(dtype=Boolean) is unknown")
242243
elif source_library == "ndonnx" and target_library == "numpy":
243244
xfail(request, reason="produces numpy array of ndonnx scalar arrays")
245+
elif target_library == "ndonnx" and source_library in ("torch", "dask.array", "jax.numpy"):
246+
xfail(request, reason="unable to infer dtype")
247+
244248
elif source_library == "jax.numpy" and target_library == "torch":
245249
xfail(request, reason="casts int to float")
246250
elif source_library == "cupy" and target_library != "cupy":

0 commit comments

Comments
 (0)