Skip to content

Hypothesis for Python - version 4.43.0

Compare
Choose a tag to compare
@Zac-HD Zac-HD released this 04 Nov 01:17
· 5569 commits to master since this release

This release adds the strategy "mutually_broadcastable_shapes()",
which generates multiple array shapes that are mutually broadcast-
compatible with an optional user-specified base-shape.

This is a generalisation of "broadcastable_shapes()". It relies
heavily on non-public internals for performance when generating and
shrinking examples. We intend to support generating shapes matching a
ufunc signature in a future version.

Thanks to Ryan Soklaski, Zac Dodds, and @rdturnermtl who contributed
to this new feature.

The canonical version of these notes (with links) is on readthedocs.