Skip to content

Commit ece0855

Browse files
author
Vahid Tavanashad
committed
fix typo
1 parent fc8c7a6 commit ece0855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +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
230+
# to avoid overflow, limit `val` to be smaller
231+
# than xp.iinfo(dtype).max
232232
if dtype_range == xp.uint8 or dtype_out == xp.uint8:
233233
val = 125
234234
else:

0 commit comments

Comments
 (0)