NobleBlocks
Public

Hypothesis: Property-Based Testing for Python

Published in Zenodo (CERN European Organization for Nuclear Research) • Apr 13, 2022
Authors:
David R. MacIver
,
Zac Hatfield-Dodds
,
Many Other Contributors

Abstract

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 m...

Finding related papers...

Discussions

(0)

No comments yet

Be the first to share your thoughts!