Skip to content

Commit dda7d2c

Browse files
author
Vahid Tavanashad
committed
revert changes for a test
1 parent 2ef20a3 commit dda7d2c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dpnp/tests/test_nanfunctions.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,12 @@ def test_out(self, func):
252252
@pytest.mark.parametrize("in_dt", get_all_dtypes(no_none=True))
253253
@pytest.mark.parametrize("out_dt", get_all_dtypes(no_none=True))
254254
def test_out_dtype(self, func, in_dt, out_dt):
255-
a = generate_random_numpy_array((2, 2, 3), dtype=in_dt)
255+
# TODO: update to use generate_random_numpy_array
256+
a = (
257+
numpy.arange(12, dtype=numpy.float32)
258+
.reshape((2, 2, 3))
259+
.astype(dtype=in_dt)
260+
)
256261
out = numpy.zeros_like(a, shape=(2, 3), dtype=out_dt)
257262
ia, iout = dpnp.array(a), dpnp.array(out)
258263

0 commit comments

Comments
 (0)