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

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

This release adds "hypothesis.currently_in_test_context()", which can
be used to check whether the calling code is currently running inside
an "@given" or stateful test.

This is most useful for third-party integrations and assertion helpers
which may wish to use "assume()" or "target()", without also requiring
that the helper only be used from property-based tests (issue #2581).

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.