hypothesis v5.6.0 Release Notes
Release Date: 2020-02-29 // about 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.