MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

Functionfails_health_check
(label, **kwargs)
hypothesis/tests/conjecture/test_engine.py:428
Functionfails_with_output
(expected)
hypothesis/tests/conjecture/test_inquisitor.py:21
Functionfake_fetch_artifact
(self)
hypothesis/tests/cover/test_database_backend.py:340
Functionfake_subTest
Monkeypatch for `unittest.TestCase.subTest` during `@given`. If we don't patch this out, each failing example is reported as a separate faili
hypothesis/src/hypothesis/core.py:1670
Functionfast_time
()
hypothesis/tests/conjecture/test_engine.py:952
Methodfetch
(self, k)
hypothesis/tests/cover/test_database_backend.py:639
Methodfetch
(self, key: bytes)
hypothesis/tests/cover/test_database_backend.py:723
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:142
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:88
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:301
Methodfilter
( self, condition: Callable[[list[Ex]], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/collections.py:236
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/strings.py:377
Methodfilter
( self, condition: Callable[[Ex], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:430
Methodfilter
( self, condition: Callable[[Ex], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:619
Methodfilter
( self, condition: Callable[[MappedTo], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1073
Methodfilter
( self, condition: Callable[[Ex], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1201
Methodfiltered_strategy
(self, source, level, mixer)
hypothesis/tests/nocover/test_strategy_state.py:91
Functionfind_integer_cost
(n)
hypothesis/tests/common/costbounds.py:16
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:360
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:369
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:386
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:398
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:410
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:426
Functionfirst_annot
(draw: None)
hypothesis/tests/cover/test_annotations.py:93
Methodfirst_span_after_node
()
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1782
Functionfixt
(request)
hypothesis/tests/pytest/test_parametrized_db_keys.py:43
Functionflaky
(max_runs, min_passes)
hypothesis/tests/common/utils.py:48
Methodflatmap
Old syntax for a special case of |@composite|: .. code-block:: python @st.composite def flatmap_like(draw, base_stra
hypothesis/src/hypothesis/strategies/_internal/strategies.py:399
Methodflatmapped_strategy
(self, source, result1, result2, mixer, p)
hypothesis/tests/nocover/test_strategy_state.py:131
Methodfloat
(self, source)
hypothesis/tests/nocover/test_strategy_state.py:107
Functionfloat_clamper
(f: float)
hypothesis/src/hypothesis/internal/floats.py:153
Functionfloat_constraints
( draw, *, use_min_value=None, use_max_value=None, use_forced=False, )
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:246
Methodfloat_range
(self, left, right)
hypothesis/tests/nocover/test_strategy_state.py:115
Functionfloating_dtypes
( *, sizes: FltSize | Sequence[FltSize] = (32, 64) )
hypothesis/src/hypothesis/extra/array_api.py:992
Methodfn
(self, original_node, updated_node)
hypothesis/src/hypothesis/extra/codemods.py:270
Functionfn_ktest
(*fnkwargs)
hypothesis/tests/cover/test_direct_strategies.py:46
Functionfn_test
(*fnkwargs)
hypothesis/tests/cover/test_direct_strategies.py:34
Functionfn_top
A trivial test function.
hypothesis/tests/patching/toplevel.py:22
Functionfoo
(*args, **kwargs)
hypothesis/tests/nocover/test_fancy_repr.py:22
Functionfoo
(x)
hypothesis/tests/nocover/test_pretty_repr.py:20
Functionfoo
(x)
hypothesis/tests/nocover/test_filtering.py:60
Functionfoo
(x=None)
hypothesis/tests/cover/test_composite.py:65
Functionfoo
()
hypothesis/tests/cover/test_control.py:85
Functionfoo
()
hypothesis/tests/cover/test_detection.py:17
Methodfoo
(self)
hypothesis/tests/cover/test_lookup.py:901
Methodfoo
(self)
hypothesis/tests/cover/test_lookup_py39.py:141
Methodfoo
(self)
hypothesis/tests/cover/test_lookup_py39.py:145
Methodforced
(self)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:424
Functionfraction_to_decimal
(val)
hypothesis/src/hypothesis/strategies/_internal/core.py:1909
Functionfreeze
()
hypothesis/tests/conftest.py:164
Methodfreeze
(self)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:465
Functionfrom_dtype
( dtype: DataType | str, *, min_value: int | float | None = None, max_value: i
hypothesis/src/hypothesis/extra/array_api.py:920
Functionfrom_form
Return a strategy for examples of ``form``. ``form`` must be an subclass of :class:`~django:django.forms.Form`. Strategies for fields may be
hypothesis/src/hypothesis/extra/django/_impl.py:135
Methodfrom_json
(cls, obj: str)
hypothesis/tests/ghostwriter/test_ghostwriter.py:289
Functionfrom_regex
( regex: bytes | Pattern[bytes], *, fullmatch: bool = False, )
hypothesis/src/hypothesis/strategies/_internal/core.py:905
Functionfrom_typing_type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:552
Functionfunc
(_)
hypothesis/tests/test_annotated_types.py:84
Functionfunc
(arg, *, kwonly_arg)
hypothesis/tests/cover/test_functions.py:123
Functionfunc_a
()
hypothesis/tests/cover/test_functions.py:23
Functionfunc_b
(a, b, c)
hypothesis/tests/cover/test_functions.py:34
Functionfunc_c
(**kwargs)
hypothesis/tests/cover/test_functions.py:47
Functionfunc_returns_str
()
hypothesis/tests/cover/test_functions.py:89
Methodfuncy
(self)
hypothesis/tests/cover/test_reflection.py:415
Functionfuzz
Write source code for a property-based test of ``func``. The resulting test checks that valid input only leads to expected exceptions. For ex
hypothesis/src/hypothesis/extra/ghostwriter.py:1355
Functionfuzz_one_input
( buffer: bytes | bytearray | memoryview | BinaryIO, )
hypothesis/src/hypothesis/core.py:2319
Functiong
(d2)
hypothesis/tests/conjecture/test_engine.py:294
Functiong
(draw)
hypothesis/tests/nocover/test_regressions.py:75
Functiong
(arg: float)
hypothesis/tests/ghostwriter/test_ghostwriter.py:391
Methodg
()
hypothesis/tests/cover/test_asyncio.py:50
Functiongc_callback
( phase: Literal["start", "stop"], info: dict[str, int] )
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:463
Functiongenerate_new_examples
(self)
hypothesis/tests/conjecture/test_engine.py:122
Functiongenerate_phase
(*args, kw)
hypothesis/tests/cover/test_falsifying_example_output.py:37
Functionget_custom_container_strategy
(thing)
hypothesis/tests/cover/test_lookup.py:1031
Methodget_example
(self, strat, data)
hypothesis/tests/nocover/test_strategy_state.py:157
Functiongetrandbits
(self, n: int)
hypothesis/src/hypothesis/strategies/_internal/random.py:95
Methodgetstate
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:42
Functionglobal_callback
(observation, thread_id)
hypothesis/tests/cover/test_observability.py:767
Functiongo_wrong_coverup
(a, b)
hypothesis/tests/nocover/test_interesting_origin.py:38
Functiongo_wrong_naive
(a, b)
hypothesis/tests/nocover/test_interesting_origin.py:19
Functiongo_wrong_with_cause
(a, b)
hypothesis/tests/nocover/test_interesting_origin.py:29
Methodgood_method
(self, x)
hypothesis/tests/nocover/test_stateful.py:228
Functionhas_a_default
(x, y, z=1)
hypothesis/tests/cover/test_reflection.py:290
Functionhas_annotation
(a: int, *b, c=2)
hypothesis/tests/cover/test_annotations.py:32
Functionhas_kwargs
(**kwargs)
hypothesis/tests/cover/test_reflection.py:298
Functionhas_one_arg
(hello)
hypothesis/tests/cover/test_reflection.py:282
Functionhas_posonly_args
(x, /, y)
hypothesis/tests/cover/test_lookup_py38.py:199
Methodhas_precondition_but_no_rule
(self)
hypothesis/tests/cover/test_stateful.py:1499
Functionhas_release_sample
()
tooling/src/hypothesistooling/release.py:67
Methodhas_reusable_values
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:284
Functionhas_source_changes
()
tooling/src/hypothesistooling/release.py:123
Functionhas_two_args
(hello, world)
hypothesis/tests/cover/test_reflection.py:286
Functionhas_type_arguments
Decides whethere or not this type has applied type arguments.
hypothesis/src/hypothesis/strategies/_internal/types.py:503
Functionhas_varargs
(*args)
hypothesis/tests/cover/test_reflection.py:294
Functionhash_for_name
(name)
tooling/src/hypothesistooling/git.py:35
Functionhi
(there, stuff)
hypothesis/tests/cover/test_custom_reprs.py:36
Methodhi
(self)
hypothesis/tests/nocover/test_stateful.py:126
Functionhopefully_hashable
(foo: set[Decimal])
hypothesis/tests/ghostwriter/test_ghostwriter.py:252
Functionhy_sig_2_np_sig
(hy_sig)
hypothesis/tests/numpy/test_gufunc.py:37
Functioni
(e,n,t,r)
website/theme/static/prism.js:3
← previousnext →2,401–2,500 of 6,164, ranked by callers