Skip to content

Commit fc8c7a6

Browse files
author
Vahid Tavanashad
committed
address comments
1 parent 22c04a5 commit fc8c7a6

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

dpnp/tests/test_sycl_queue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,7 @@ def test_reduce_hypot(device):
810810
[0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0],
811811
[5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0],
812812
),
813+
pytest.param("round", [1.234, 2.567], 2),
813814
pytest.param("searchsorted", [11, 12, 13, 14, 15], [-10, 20, 12, 13]),
814815
pytest.param(
815816
"subtract",

dpnp/tests/test_usm_type.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ def test_1in_1out(func, data, usm_type):
740740
pytest.param("maximum", [0.0, 1.0, 2.0], [3.0, 4.0, 5.0]),
741741
pytest.param("minimum", [0.0, 1.0, 2.0], [3.0, 4.0, 5.0]),
742742
pytest.param("nextafter", [1, 2], [2, 1]),
743+
pytest.param("round", [1.234, 2.567], 2),
743744
pytest.param("searchsorted", [11, 12, 13, 14, 15], [-10, 20, 12, 13]),
744745
pytest.param(
745746
"tensordot",

dpnp/tests/third_party/cupy/core_tests/test_ndarray_complex_ops.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import pytest
55

66
import dpnp as cupy
7-
from dpnp.tests.helper import has_support_aspect64
87
from dpnp.tests.third_party.cupy import testing
98

109

dpnp/tests/third_party/cupy/creation_tests/test_ranges.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ def test_linspace_mixed_start_stop2(self, xp, dtype_range, dtype_out):
227227
# TODO (ev-br): np 2.0: had to bump the default rtol on Windows
228228
# and numpy 1.26+weak promotion from 0 to 5e-6
229229
if xp.dtype(dtype_range).kind in "u":
230+
# to avoid overflow limit `val`` to be smaller
231+
# than xp.iinfo(dtype_range).max
230232
if dtype_range == xp.uint8 or dtype_out == xp.uint8:
231233
val = 125
232234
else:

0 commit comments

Comments
 (0)