Published April 13, 2022
| Version hypothesis-python-6.43.1
Software
Open
Hypothesis: Property-Based Testing for Python
Authors/Creators
- 1. Imperial College London
- 2. Australian National University
Description
This patch makes it an explicit error to call "register_type_strategy()" with a Pydantic GenericModel and a callable, because "GenericModel" isn't actually a generic type at runtime and so you have to register each of the "parametrized versions" (actually subclasses!) manually. See issue #2940 for more details.
The canonical version of these notes (with links) is on readthedocs.
Notes
Files
HypothesisWorks/hypothesis-hypothesis-python-6.43.1.zip
Files
(9.6 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:d97c5e2807dc90ca6dc98d78e684b524
|
9.6 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/HypothesisWorks/hypothesis/tree/hypothesis-python-6.43.1 (URL)