Skip to content

Commit 0445601

Browse files
committed
Fix a bug in the is_integer_dtype() helper function
1 parent 68bf257 commit 0445601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/array_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def assert_same_sign(x, y):
301301
def is_integer_dtype(dtype):
302302
if dtype is None:
303303
return False
304-
return dtype in [int8, int16, int32, int16, uint8, uint16, uint32, uint64]
304+
return dtype in [int8, int16, int32, int64, uint8, uint16, uint32, uint64]
305305

306306
def is_float_dtype(dtype):
307307
if dtype is None:

0 commit comments

Comments
 (0)