Skip to content

Commit decc491

Browse files
committed
update a few more
1 parent 380ff61 commit decc491

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎hypothesis/src/hypothesis/core.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,8 +2324,8 @@ def _get_fuzz_target() -> (
23242324
thread_overlap=thread_overlap,
23252325
)
23262326
database_key = function_digest(test) + b".secondary"
2327-
# We track the minimal-so-far example for each distinct origin, so
2328-
# that we track log-n instead of n examples for long runs. In particular
2327+
# We track the minimal-so-far test case for each distinct origin, so
2328+
# that we track log-n instead of n test cases for long runs. In particular
23292329
# it means that we saturate for common errors in long runs instead of
23302330
# storing huge volumes of low-value data.
23312331
minimal_failures: dict = {}

‎hypothesis/src/hypothesis/internal/conjecture/utils.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def sample(
261261

262262
class many:
263263
"""Utility class for collections. Bundles up the logic we use for "should I
264-
keep drawing more values?" and handles starting and stopping examples in
264+
keep drawing more values?" and handles starting and stopping spans in
265265
the right place.
266266
267267
Intended usage is something like:
@@ -343,7 +343,7 @@ def more(self) -> bool:
343343
return False
344344

345345
def reject(self, why: str | None = None) -> None:
346-
"""Reject the last example (i.e. don't count it towards our budget of
346+
"""Reject the last element (i.e. don't count it towards our budget of
347347
elements because it's not going to go in the final collection)."""
348348
assert self.count > 0
349349
self.count -= 1

‎hypothesis/tests/cover/test_testdecorators.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def f(v):
508508
Unsatisfiable,
509509
match=(
510510
rf"Unable to satisfy assumptions of f\. {INVALID_THRESHOLD_BASE+1} of "
511-
rf"{INVALID_THRESHOLD_BASE+1} examples failed a \.filter\(\) or assume\(\)"
511+
rf"{INVALID_THRESHOLD_BASE+1} test cases failed a \.filter\(\) or assume\(\)"
512512
),
513513
):
514514
f()
@@ -547,7 +547,7 @@ def f(v):
547547
pass
548548

549549
match = (
550-
rf"{INVALID_THRESHOLD_BASE+1} of {INVALID_THRESHOLD_BASE+1} examples were too large to"
550+
rf"{INVALID_THRESHOLD_BASE+1} of {INVALID_THRESHOLD_BASE+1} test cases were too large to"
551551
rf" finish generating; try reducing the typical size of your inputs\?"
552552
)
553553
with (

0 commit comments

Comments
 (0)