Skip to content

Commit f69b9d5

Browse files
committed
Pass seed value explicitly in test_strided
1 parent 58c7de5 commit f69b9d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dpnp/tests/test_linalg.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,9 @@ def test_nan_to_inf(self, p):
351351
],
352352
)
353353
def test_strided(self, p, stride):
354-
A = generate_random_numpy_array((6, 8, 10, 10))
354+
A = generate_random_numpy_array(
355+
(6, 8, 10, 10), seed_value=70, low=0, high=1
356+
)
355357
iA = dpnp.array(A)
356358
slices = tuple(slice(None, None, stride[i]) for i in range(A.ndim))
357359
a, ia = A[slices], iA[slices]

0 commit comments

Comments
 (0)