MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

Functiondomains
()
hypothesis/src/hypothesis/strategies/_internal/core.py:2674
Functiondouble
(x)
hypothesis/tests/quality/test_discovery_ability.py:283
Functiondowncast
(x: float)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:540
Methoddraw
(choice_type, constraints, *, forced=None, convert_forced=True)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:833
Methoddraw_boolean
Draw a boolean choice. Parameters ---------- p: float The probability of returning ``True``. Between 0 a
hypothesis/src/hypothesis/internal/conjecture/providers.py:467
Methoddraw_boolean
( self, p: float = 0.5, )
hypothesis/src/hypothesis/internal/conjecture/providers.py:1139
Methoddraw_boolean
( self, value: bool, *, was_forced: bool, constraints: BooleanConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1019
Methoddraw_boolean
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:295
Methoddraw_boolean
(self, *args, **kwargs)
hypothesis/tests/conjecture/test_provider.py:881
Methoddraw_boolean
(self, p: float = 0.5)
hypothesis/tests/conjecture/test_provider.py:1073
Methoddraw_bytes
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:960
Methoddraw_bytes
Draw a bytes choice. Parameters ---------- min_size : int (Inclusive) lower bound on the bytes length.
hypothesis/src/hypothesis/internal/conjecture/providers.py:565
Methoddraw_bytes
( self, min_size: int = 0, max_size: int = COLLECTION_DEFAULT_MAX_SIZE, )
hypothesis/src/hypothesis/internal/conjecture/providers.py:1067
Methoddraw_bytes
( self, min_size: int = 0, max_size: int = COLLECTION_DEFAULT_MAX_SIZE, )
hypothesis/src/hypothesis/internal/conjecture/providers.py:1237
Methoddraw_bytes
( self, value: bytes, *, was_forced: bool, constraints: BytesConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1014
Methoddraw_bytes
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:301
Methoddraw_float
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:955
Methoddraw_float
Draw a float choice. Parameters ---------- min_value : float (Inclusive) lower bound on the float value.
hypothesis/src/hypothesis/internal/conjecture/providers.py:517
Methoddraw_float
( self, *, min_value: float = -math.inf, max_value: float = math.inf,
hypothesis/src/hypothesis/internal/conjecture/providers.py:953
Methoddraw_float
( self, *, min_value: float = -math.inf, max_value: float = math.inf,
hypothesis/src/hypothesis/internal/conjecture/providers.py:1191
Methoddraw_float
( self, value: float, *, was_forced: bool, constraints: FloatConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1004
Methoddraw_float
( self, min_value: float = -math.inf, max_value: float = math.inf, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:1006
Methoddraw_float
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:298
Methoddraw_float
(self, **kwargs)
hypothesis/tests/nocover/test_provider_conformance.py:119
Methoddraw_float
(self, **kwargs)
hypothesis/tests/nocover/test_provider_conformance.py:136
Methoddraw_float
(self, **kwargs)
hypothesis/tests/nocover/test_provider_conformance.py:148
Functiondraw_integer
(*args, **kwargs)
hypothesis/tests/nocover/test_health_checks.py:91
Methoddraw_integer
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:950
Methoddraw_integer
Draw an integer choice. Parameters ---------- min_value : int | None (Inclusive) lower bound on the inte
hypothesis/src/hypothesis/internal/conjecture/providers.py:488
Methoddraw_integer
( self, min_value: int | None = None, max_value: int | None = None, *,
hypothesis/src/hypothesis/internal/conjecture/providers.py:835
Methoddraw_integer
( self, value: int, *, was_forced: bool, constraints: IntegerConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:997
Methoddraw_integer
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:292
Methoddraw_integer
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:605
Methoddraw_integer
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:650
Methoddraw_integer
(self, **constraints)
hypothesis/tests/conjecture/test_provider.py:740
Methoddraw_integer
(self, *args, **kwargs)
hypothesis/tests/conjecture/test_provider.py:885
Methoddraw_integer
( self, min_value=None, max_value=None, *, weights=None, shrink_towards=0 )
hypothesis/tests/nocover/test_provider_conformance.py:80
Methoddraw_integer
( self, min_value=None, max_value=None, *, weights=None, shrink_towards=0 )
hypothesis/tests/nocover/test_provider_conformance.py:160
Functiondraw_ordered_with_assume
(draw)
hypothesis/tests/cover/test_composite.py:42
Methoddraw_string
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:965
Methoddraw_string
Draw a string choice. Parameters ---------- intervals : IntervalSet The set of codepoints to sample from
hypothesis/src/hypothesis/internal/conjecture/providers.py:543
Methoddraw_string
( self, intervals: IntervalSet, *, min_size: int = 0, max_size: int =
hypothesis/src/hypothesis/internal/conjecture/providers.py:1019
Methoddraw_string
( self, intervals: IntervalSet, *, min_size: int = 0, max_size: int =
hypothesis/src/hypothesis/internal/conjecture/providers.py:1227
Methoddraw_string
( self, value: str, *, was_forced: bool, constraints: StringConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1009
Methoddraw_string
( self, intervals: IntervalSet, *, min_size: int = 0, max_size: int =
hypothesis/src/hypothesis/internal/conjecture/data.py:1050
Methoddraw_string
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:304
Methoddraw_string
( self, intervals, *, min_size=0, max_size=COLLECTION_DEFAULT_MAX_SIZE )
hypothesis/tests/nocover/test_provider_conformance.py:124
Methoddraw_value
(args, kwargs)
hypothesis/src/hypothesis/strategies/_internal/functions.py:107
Methoddst
(self, value)
hypothesis/tests/cover/test_datetimes.py:222
Methoddst
(self, value)
hypothesis/tests/cover/test_datetimes.py:244
Methoddst
(self, value)
hypothesis/tests/cover/test_datetimes.py:257
Methoddst
(self, value)
hypothesis/tests/cover/test_datetimes.py:299
Methoddst
(self, value)
hypothesis/tests/cover/test_datetimes.py:501
Methoddst
(self, value)
hypothesis/tests/cover/test_filter_rewriting.py:695
Methodduplicated_nodes
Returns a list of nodes grouped (choice_type, value).
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1358
Functione
(name, *, _min_version: NominalVersion | None = None, **kwargs)
hypothesis/tests/array_api/test_argument_validation.py:20
Functione
(a, **kwargs)
hypothesis/tests/numpy/test_argument_validation.py:22
Functione_to_str
(elt)
hypothesis/tests/common/arguments.py:21
Methodelement_strategies
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:920
Functionempty
(chooser)
hypothesis/tests/conjecture/test_choice_tree.py:58
Functionempty_db
(_)
hypothesis/tests/cover/test_core.py:138
Methodends
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:535
Functionenough_leaves
(t)
hypothesis/tests/cover/test_recursive.py:60
Functionensure_rustc
(version, *, components=(), targets=())
tooling/src/hypothesistooling/installers.py:75
Functionensure_shellcheck
()
tooling/src/hypothesistooling/installers.py:113
Methodevents_agree
(self)
hypothesis/tests/cover/test_database_backend.py:681
Functioneverything_except
(type_)
hypothesis/tests/cover/test_targeting.py:66
Methodexample
Provide an example of the sort of value that this strategy generates. This method is designed for use in a REPL, and will raise an error if
hypothesis/src/hypothesis/strategies/_internal/strategies.py:340
Methodexample_generating_inner_function
( ex: Ex, # type: ignore # mypy is overzealous in preventing covariant params )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:411
Functionexampledatabase
(request, tmp_path)
hypothesis/tests/cover/test_database_backend.py:117
Functionexecute
(data, function)
hypothesis/src/hypothesis/core.py:846
Methodexecute_example
(self, function)
hypothesis/tests/cover/test_executors.py:22
Methodexecute_example
(self, f)
hypothesis/tests/cover/test_executors.py:43
Methodexecute_example
(self, f)
hypothesis/tests/cover/test_executors.py:49
Methodexecute_example
(self, f)
hypothesis/tests/cover/test_asyncio.py:47
Methodexecute_example
(self, f)
hypothesis/tests/cover/test_asyncio.py:79
Methodexhausted
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/choicetree.py:127
Methodexhausted
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/choicetree.py:152
Functionexplicit_phase
(*args, kw)
hypothesis/tests/cover/test_failing_test_case_output.py:44
Functionexponent_key
(e: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:82
Functionf
()
website/theme/static/prism.js:3
Functionf
(x)
hypothesis/tests/nocover/test_simple_numbers.py:88
Functionf
(data)
hypothesis/tests/nocover/test_conjecture_engine.py:51
Functionf
(arg: int)
hypothesis/tests/ghostwriter/test_ghostwriter.py:412
Functionf
(shapes: nps.BroadcastableShapes)
hypothesis/tests/numpy/test_gen_data.py:1006
Functionf
(*, a, b=2)
hypothesis/tests/cover/test_annotations.py:124
Functionf
(x)
hypothesis/tests/cover/test_type_lookup.py:475
Functionf
()
hypothesis/tests/cover/test_explicit_examples.py:346
Functionf
(u, v)
hypothesis/tests/cover/test_searchstrategy.py:78
Methodf
(self, v)
hypothesis/tests/nocover/test_stateful.py:295
Methodf
(self, value)
hypothesis/tests/nocover/test_stateful.py:332
Methodf
(self, value)
hypothesis/tests/nocover/test_stateful.py:345
Methodf
()
hypothesis/tests/cover/test_executors.py:29
Methodf
(self)
hypothesis/tests/cover/test_stateful.py:1501
Methodf
(self)
hypothesis/tests/cover/test_lookup.py:919
Functionfail
(candidate)
hypothesis/tests/conftest.py:106
Methodfail
(self, x, y)
hypothesis/tests/nocover/test_stateful.py:147
Methodfail_eventually
(self)
hypothesis/tests/cover/test_stateful.py:1085
Methodfail_fast
(self)
hypothesis/tests/cover/test_stateful.py:354
Methodfail_fast
(self)
hypothesis/tests/cover/test_stateful.py:915
← previousnext →2,501–2,600 of 6,838, ranked by callers