Hypothesis for Python - version 6.122.3
Zac-HD
released this
08 Dec 21:34
·
63 commits
to master
since this release
This patch improves our error and warning messages.
-
Add a warning for "st.text("ascii")" - you probably meant
"st.text(st.characters(codec="ascii"))". Similarly for ""utf-8"". -
Recommend remedies in the error message of "Unsatisfiable".
-
When "@given" errors because it was given an extra keyword argument,
and the keyword matches a setting name like "max_examples",
recommend "@settings(max_examples=...)" instead.
The canonical version of these notes (with links) is on readthedocs.