MCPcopy Create free account
hub / github.com/HypothesisWorks/hypothesis / assert_examples

Function assert_examples

hypothesis/tests/common/debug.py:128–130  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

126 @given(strategy)
127 @Settings(parent=settings, database=None)
128 def assert_examples(s):
129 msg = f"Found {s!r} using strategy {strategy} which does not match"
130 assert predicate(s), msg
131
132 assert_examples()
133

Callers 1

assert_all_examplesFunction · 0.85

Calls 1

predicateFunction · 0.50

Tested by

no test coverage detected