Skip to content

Hypothesis for Python - version 6.14.8

Compare
Choose a tag to compare
@Zac-HD Zac-HD released this 16 Aug 23:00
· 3550 commits to master since this release

This patch ensures that registering a strategy for a subclass of a a
parametrised generic type such as "class Lines(Sequence[str]):" will
not "leak" into unrelated strategies such as
"st.from_type(Sequence[int])" (issue #2951). Unfortunately this fix
requires PEP 560, meaning Python 3.7 or later.

The canonical version of these notes (with links) is on readthedocs.