Skip to content

Commit f2d071c

Browse files
committed
Fix int_dtypes strategy to include unsigned int dtypes
1 parent 8e35f2e commit f2d071c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/hypothesis_helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def oneway_broadcastable_shapes(draw) -> OnewayBroadcastableShapes:
177177
# Use these instead of xps.scalar_dtypes, etc. because it skips dtypes from
178178
# ARRAY_API_TESTS_SKIP_DTYPES
179179
all_dtypes = sampled_from(_sorted_dtypes)
180-
int_dtypes = sampled_from(dh.int_dtypes)
180+
int_dtypes = sampled_from(dh.all_int_dtypes)
181181
uint_dtypes = sampled_from(dh.uint_dtypes)
182182
real_dtypes = sampled_from(dh.real_dtypes)
183183
# Warning: The hypothesis "floating_dtypes" is what we call

0 commit comments

Comments
 (0)