Skip to content

Commit 4071a20

Browse files
vtavanaantonwolfy
andauthored
Update tests/third_party/cupy/test_type_routines.py
Co-authored-by: Anton <[email protected]>
1 parent fc68cf3 commit 4071a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/third_party/cupy/test_type_routines.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def test_result_type(self, xp, dtype1, dtype2):
106106
# dpnp.result_type takes into account device capabilities, when one of
107107
# the inputs is an array. If dtype is `float32` and the object is
108108
# primitive, the final dtype is `float` which needs a device with
109-
# double precision support. so we skip the test for such a case on a
110-
# device that does not support fp64
109+
# double precision support. So we have to skip the test for such a case
110+
# on a device that does not support fp64
111111
flag1 = self.obj_type1 == "array" or self.obj_type2 == "array"
112112
flag2 = (self.obj_type1 == "primitive" and input1 == float) or (
113113
self.obj_type2 == "primitive" and input2 == float

0 commit comments

Comments
 (0)