There was an error while loading. Please reload this page.
1 parent e1d8208 commit c3984feCopy full SHA for c3984fe
1 file changed
tests/test_funcs.py
@@ -51,6 +51,7 @@
51
from array_api_extra._lib._funcs import searchsorted as _funcs_searchsorted
52
from array_api_extra._lib._utils._compat import (
53
array_namespace,
54
+ is_jax_namespace,
55
is_torch_namespace,
56
)
57
from array_api_extra._lib._utils._compat import device as get_device
@@ -2028,6 +2029,8 @@ def test_nd(
2028
2029
xp: ArrayNamespace,
2030
searchsorted: Callable[..., Array],
2031
):
2032
+ if nans_x and is_jax_namespace(xp):
2033
+ pytest.xfail("https://github.com/jax-ml/jax/issues/39887")
2034
if nans_x and is_torch_namespace(xp) and searchsorted == xpx_searchsorted:
2035
pytest.skip("torch sorts NaNs differently")
2036
if isinstance(shape, tuple) and searchsorted == _funcs_searchsorted:
0 commit comments