Skip to content

Commit

Permalink
Update hypothesis-python/src/hypothesis/internal/cache.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zac Hatfield-Dodds <[email protected]>
  • Loading branch information
jobh and Zac-HD authored Jul 4, 2024
1 parent b6d1571 commit 5ab25ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/internal/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class GenericCache:

def __init__(self, max_size):
if max_size <= 0:
raise InvalidArgument("Cache size must be nonzero.")
raise InvalidArgument("Cache size must be at least one.")

self.max_size = max_size

Expand Down

0 comments on commit 5ab25ae

Please sign in to comment.