Hypothesis: Property-Based Testing for Python
Published in Zenodo (CERN European Organization for Nuclear Research) • Aug 16, 2021
NobleIDNI9P90W30R09S23
Authors:,,
David R. MacIver
Zac Hatfield-Dodds
Many Other Contributors
Abstract
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. Th...
Finding related papers...
Discussions
(0)No comments yet
Be the first to share your thoughts!