Suppress hypothesis.HealthCheck.too_slow
import pytest
from hypothesis import given
from hypothesis.extra.array_api import make_strategies_namespace
+from hypothesis import settings, HealthCheck
from cupy import array_api as xp
@@ -9,6 +10,7 @@ xps = make_strategies_namespace(xp)
@pytest.mark.parametrize("func", [xp.unique_all, xp.unique_inverse])
@given(xps.arrays(dtype=xps.scalar_dtypes(), shape=xps.array_shapes()))
+@settings(suppress_health_check=[HealthCheck.too_slow])
def test_inverse_indices_shape(func, x):
"""
Inverse indices share shape of input array
