github HypothesisWorks/hypothesis hypothesis-python-5.38.1
Hypothesis for Python - version 5.38.1

latest releases: hypothesis-python-6.102.4, hypothesis-python-6.102.3, hypothesis-python-6.102.2...
3 years ago

This patch fixes "builds()", so that when passed "infer" for an
argument with a non-"typing.Optional" type annotation and a default
value of "None" to build a class which defines an explicit
"signature" attribute, either "None" or that type may be
generated.

This is unlikely to happen unless you are using pydantic (issue
#2648).

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.