Skip to content

Commit f53cbcb

Browse files
committed
Update test_empty to test exactly empty input array
1 parent 73b5ea5 commit f53cbcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/tests/test_mathematical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ def test_out_overlap(self, dt):
828828

829829
@pytest.mark.parametrize("dt", get_float_dtypes())
830830
def test_empty(self, dt):
831-
a = numpy.empty((), dtype=dt)
831+
a = numpy.empty(0, dtype=dt)
832832
ia = dpnp.array(a)
833833

834834
res1, res2 = dpnp.frexp(ia)

0 commit comments

Comments
 (0)