github HypothesisWorks/hypothesis v6.152.11
Hypothesis version 6.152.11

2 hours ago

This patch adds support for recursive forward references in
"from_type()", such as "A = list[Union["A", str]]" (issue #4542).
Previously, such recursive type aliases would raise a
"ResolutionFailed" error. Now, Hypothesis can automatically resolve
the forward reference by looking it up in the caller's namespace. This
also resolves forward references inside "type[...]", such as
"type["MyClass"]".

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

Don't miss a new hypothesis release

NewReleases is sending notifications on new releases.