Skip to content

Commit

Permalink
add patch notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Dec 8, 2024
1 parent 5903fe9 commit b26cc93
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
RELEASE_TYPE: patch

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.

0 comments on commit b26cc93

Please sign in to comment.