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

latest releases: hypothesis-python-6.138.15, hypothesis-python-6.138.14, hypothesis-python-6.138.13...
4 months ago

Improve type hints for the single-argument form of "one_of()".
"st.one_of(strategies)" now matches the type of
"st.one_of(*strategies)". For instance, "st.one_of([st.integers(),
st.none()])" now has the correct type of "SearchStrategy[int | None]"
instead of "SearchStrategy[Any]".

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.