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

latest releases: hypothesis-python-6.100.2, hypothesis-python-6.100.1, hypothesis-python-6.100.0...
4 years ago

This release adds an explicit warning for tests that are both
decorated with "@given(...)" and request a function-scoped pytest
fixture
, because such fixtures are only executed once for all
Hypothesis test cases and that often causes trouble (issue #377).

It's very difficult to fix this on the pytest side, so since 2015
our advice has been "just don't use function-scoped fixtures with
Hypothesis". Now we detect and warn about the issue at runtime!

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.