We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1345aa commit 5559de6Copy full SHA for 5559de6
tests/test_array_namespace.py
@@ -19,7 +19,7 @@ def test_array_namespace(library, api_version, use_compat):
19
xp = import_(library)
20
21
array = xp.asarray([1.0, 2.0, 3.0])
22
- if use_compat and library in {'array_api_strict', 'jax.numpy', 'ndonnx', 'sparse'}:
+ if use_compat and library not in wrapped_libraries:
23
pytest.raises(ValueError, lambda: array_namespace(array, use_compat=use_compat))
24
return
25
if library == "ndonnx" and api_version in ("2021.12", "2022.12"):
0 commit comments