Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dpnp/tests/test_special.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_basic(self, func, dt):
expected = getattr(scipy.special, func)(a)

# scipy >= 0.16.0 returns float64, but dpnp returns float32
to_float32 = dt in (dpnp.bool, dpnp.float16)
to_float32 = dpnp.result_type(dt, dpnp.float32) == dpnp.float32
only_type_kind = installed("scipy>=0.16.0") and to_float32
assert_dtype_allclose(
result, expected, check_only_type_kind=only_type_kind
Expand Down
Loading