Skip to content

Commit 68e4b57

Browse files
authored
elaborate on comment
1 parent 4d5061b commit 68e4b57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_testing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ def test_lazy_xp_function_cython_ufuncs(xp: ModuleType, library: Backend):
222222
x = xp.asarray([6.0, 7.0])
223223
if library in (Backend.ARRAY_API_STRICT, Backend.JAX):
224224
# array-api-strict arrays are auto-converted to numpy
225+
# which results in an assertion error for mismatched namespaces
225226
# eager jax arrays are auto-converted to numpy in eager jax
226227
# and fail in jax.jit (which lazy_xp_function tests here)
227228
with pytest.raises((TypeError, AssertionError)):

0 commit comments

Comments
 (0)