Skip to content

Commit c3984fe

Browse files
committed
TST: add xfail for jax-ml/jax#39887
1 parent e1d8208 commit c3984fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_funcs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
from array_api_extra._lib._funcs import searchsorted as _funcs_searchsorted
5252
from array_api_extra._lib._utils._compat import (
5353
array_namespace,
54+
is_jax_namespace,
5455
is_torch_namespace,
5556
)
5657
from array_api_extra._lib._utils._compat import device as get_device
@@ -2028,6 +2029,8 @@ def test_nd(
20282029
xp: ArrayNamespace,
20292030
searchsorted: Callable[..., Array],
20302031
):
2032+
if nans_x and is_jax_namespace(xp):
2033+
pytest.xfail("https://github.com/jax-ml/jax/issues/39887")
20312034
if nans_x and is_torch_namespace(xp) and searchsorted == xpx_searchsorted:
20322035
pytest.skip("torch sorts NaNs differently")
20332036
if isinstance(shape, tuple) and searchsorted == _funcs_searchsorted:

0 commit comments

Comments
 (0)