We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49bfbdc commit 4952d79Copy full SHA for 4952d79
1 file changed
tests/test_testing.py
@@ -359,6 +359,10 @@ def test_parent_method_not_tagged(self):
359
assert hasattr(B.g, "_lazy_xp_function")
360
assert not hasattr(A.g, "_lazy_xp_function")
361
362
+ @pytest.mark.skip_xp_backend(Backend.SPARSE, reason="converts to NumPy")
363
+ @pytest.mark.skip_xp_backend(Backend.CUPY, reason="converts to NumPy")
364
+ @pytest.mark.skip_xp_backend(Backend.JAX_GPU, reason="converts to NumPy")
365
+ @pytest.mark.skip_xp_backend(Backend.TORCH_GPU, reason="converts to NumPy")
366
def test_lazy_xp_function_classes(self, xp: ModuleType, library: Backend):
367
x = xp.asarray([1.1, 2.2, 3.3])
368
y = xp.asarray([1.0, 2.0, 3.0])
0 commit comments