Skip to content

Commit b76184a

Browse files
committed
Assert correct result dtype in test_count.py
1 parent 2c9855e commit b76184a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/third_party/cupy/sorting_tests/test_count.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def func(xp):
1717
# CuPy returns zero-dimensional array instead of
1818
# returning a scalar value
1919
assert isinstance(c, xp.ndarray)
20-
assert c.dtype == "l"
20+
assert c.dtype == "p"
2121
assert c.shape == ()
2222
return int(c)
2323

0 commit comments

Comments
 (0)