Skip to content

Commit

Permalink
Merge pull request #3078 from honno/honno/wrap-array-shapes
Browse files Browse the repository at this point in the history
Wrap array_shapes in @defines_strategy
  • Loading branch information
Zac-HD authored Aug 30, 2021
2 parents d8cbc06 + 98c019f commit 2d8a8db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RELEASE_TYPE: patch

This patch fixes the repr of :func:`~hypothesis.extra.numpy.array_shapes`.
1 change: 1 addition & 0 deletions hypothesis-python/src/hypothesis/extra/_array_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def check_valid_dims(dims, name):
)


@defines_strategy()
def array_shapes(
*,
min_dims: int = 1,
Expand Down

0 comments on commit 2d8a8db

Please sign in to comment.