Skip to content

Commit 78ab745

Browse files
committed
Fix TestFrexp::test_basic to work with unsigned dtype
1 parent 477f418 commit 78ab745

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
@@ -719,7 +719,7 @@ class TestFrexp:
719719

720720
@pytest.mark.parametrize("dt", ALL_DTYPES_NO_COMPLEX)
721721
def test_basic(self, dt):
722-
a = numpy.array([-2, 5, 1, 4, 3], dtype=dt)
722+
a = get_abs_array([-2, 5, 1, 4, 3], dtype=dt)
723723
ia = dpnp.array(a)
724724

725725
res1, res2 = dpnp.frexp(ia)

0 commit comments

Comments
 (0)