Skip to content

Commit 9cb58a1

Browse files
committed
Add a comment
1 parent 64b0342 commit 9cb58a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

array_api_tests/hypothesis_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def tuples(elements, *, min_size=0, max_size=None, unique_by=None, unique=False)
138138

139139
# Use this to avoid memory errors with NumPy.
140140
# See https://github.com/numpy/numpy/issues/15753
141+
# Note, the hypothesis default for max_dims is min_dims + 2 (i.e., 0 + 2)
141142
def shapes(**kw):
142143
kw.setdefault('min_dims', 0)
143144
kw.setdefault('min_side', 0)

0 commit comments

Comments
 (0)