Skip to content

Commit

Permalink
Merge pull request #2096 from Moisan/typo_distinct_strings
Browse files Browse the repository at this point in the history
Fix a typo in a composite example
  • Loading branch information
Zac-HD committed Sep 18, 2019
2 parents 679284b + ecd1af4 commit 18fdf45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypothesis-python/docs/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ You can use :func:`assume <hypothesis.assume>` inside composite functions:
@composite
def distinct_strings_with_common_characters(draw):
x = draw(text(), min_size=1)
x = draw(text(min_size=1))
y = draw(text(alphabet=x))
assume(x != y)
return (x, y)
Expand Down

0 comments on commit 18fdf45

Please sign in to comment.