Skip to content

Commit da63cd4

Browse files
committed
Update test_rand_period
1 parent d6f2b00 commit da63cd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/tests/test_mathematical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2322,7 +2322,7 @@ def test_basic(self, dt):
23222322
"dt", get_all_dtypes(no_none=True, no_complex=True)
23232323
)
23242324
def test_rand(self, dt):
2325-
a = generate_random_numpy_array(10, seed_value=42) * 100
2325+
a = generate_random_numpy_array((10,), seed_value=42) * 100
23262326
a = a.astype(dtype=dt)
23272327
ia = dpnp.array(a)
23282328

@@ -2346,7 +2346,7 @@ def test_period(self, dt):
23462346
"dt", get_all_dtypes(no_none=True, no_bool=True, no_complex=True)
23472347
)
23482348
def test_rand_period(self, dt):
2349-
a = numpy.random.rand(10) * 1000
2349+
a = generate_random_numpy_array((10,), seed_value=42) * 1000
23502350
a = a.astype(dtype=dt)
23512351
ia = dpnp.array(a)
23522352

0 commit comments

Comments
 (0)