Skip to content

Commit bfc14f1

Browse files
committed
Resolve result dtype missmath in test_fabs_negative
1 parent 91161a8 commit bfc14f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/tests/third_party/cupy/math_tests/test_misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def test_fabs(self, xp, dtype):
198198

199199
@testing.with_requires("numpy>=2.0")
200200
@testing.for_all_dtypes(no_complex=True)
201-
@testing.numpy_cupy_allclose(atol=1e-5)
201+
@testing.numpy_cupy_allclose(atol=1e-5, type_check=has_support_aspect64())
202202
def test_fabs_negative(self, xp, dtype):
203203
if numpy.issubdtype(dtype, numpy.unsignedinteger):
204204
pytest.skip("trying to set negative value to unsigned integer")

0 commit comments

Comments
 (0)