We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 206baa2 commit a83d5cbCopy full SHA for a83d5cb
vendor_tests/test_vendor.py
@@ -20,10 +20,10 @@ def test_vendor_compat():
20
device(x)
21
assert not is_jax_array(x)
22
assert is_writeable_array(x)
23
- assert not is_cupy_namespace(x)
24
- assert not is_jax_namespace(x)
25
- assert not is_pydata_sparse_namespace(x)
26
- assert not is_torch_namespace(x)
+ assert not is_cupy_namespace(xp)
+ assert not is_jax_namespace(xp)
+ assert not is_pydata_sparse_namespace(xp)
+ assert not is_torch_namespace(xp)
27
assert size(x) == 3
28
29
0 commit comments