Skip to content

Commit 5559de6

Browse files
committed
nit
1 parent f1345aa commit 5559de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_array_namespace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_array_namespace(library, api_version, use_compat):
1919
xp = import_(library)
2020

2121
array = xp.asarray([1.0, 2.0, 3.0])
22-
if use_compat and library in {'array_api_strict', 'jax.numpy', 'ndonnx', 'sparse'}:
22+
if use_compat and library not in wrapped_libraries:
2323
pytest.raises(ValueError, lambda: array_namespace(array, use_compat=use_compat))
2424
return
2525
if library == "ndonnx" and api_version in ("2021.12", "2022.12"):

0 commit comments

Comments
 (0)