Skip to content

Commit

Permalink
Update note description
Browse files Browse the repository at this point in the history
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
  • Loading branch information
gliptak committed Nov 13, 2021
1 parent 288ba3e commit e2b1f41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
RELEASE_TYPE: patch

This patch updates documentation of :func:`~hypothesis.note`
(:issue:`3147`).
2 changes: 1 addition & 1 deletion hypothesis-python/docs/details.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ intermediate steps of your test. That's where the ``note`` function comes in:
Shuffle: [1, 0]
ls != ls2
The note is printed in the final run of the test in order to include any
The note is printed for the minimal failing example of the test in order to include any
additional information you might need in your test.


Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def should_note():


def note(value: str) -> None:
"""Report this value in the final execution."""
"""Report this value for the minimal failing example."""
if should_note():
report(value)

Expand Down

0 comments on commit e2b1f41

Please sign in to comment.