Skip to content

Commit 2d8a8db

Browse files
authored
Merge pull request #3078 from honno/honno/wrap-array-shapes
Wrap array_shapes in @defines_strategy
2 parents d8cbc06 + 98c019f commit 2d8a8db

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎hypothesis-python/RELEASE.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
RELEASE_TYPE: patch
2+
3+
This patch fixes the repr of :func:`~hypothesis.extra.numpy.array_shapes`.

‎hypothesis-python/src/hypothesis/extra/_array_helpers.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def check_valid_dims(dims, name):
8282
)
8383

8484

85+
@defines_strategy()
8586
def array_shapes(
8687
*,
8788
min_dims: int = 1,

0 commit comments

Comments
 (0)