Skip to content

Commit a5cd35b

Browse files
committed
test_bool_size requires numpy 2.3.2 at least
1 parent 61b2192 commit a5cd35b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpnp/tests/test_random_state.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
is_cpu_device,
2222
is_gpu_device,
2323
)
24+
from .third_party.cupy import testing
2425

2526
# aspects of default device:
2627
_def_device = dpctl.SyclQueue().sycl_device
@@ -1126,6 +1127,7 @@ def test_size_castable_to_integer(self):
11261127
result = RandomState().uniform(size=size)
11271128
assert result.shape == size
11281129

1130+
@testing.with_requires("numpy>=2.3.2")
11291131
@pytest.mark.parametrize("xp", [numpy, dpnp])
11301132
@pytest.mark.parametrize(
11311133
"size",

0 commit comments

Comments
 (0)