MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

Methoddo_something
(self)
hypothesis/tests/cover/test_stateful.py:802
Methoddo_stuff
(self)
hypothesis/tests/cover/test_stateful.py:549
Methoddo_stuff
(self)
hypothesis/tests/cover/test_stateful.py:634
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:64
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:117
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/core.py:1145
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:145
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/collections.py:57
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/collections.py:194
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:880
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1042
Methoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1178
Functiondomains
()
hypothesis/src/hypothesis/strategies/_internal/core.py:2620
Functiondouble
(x)
hypothesis/tests/quality/test_discovery_ability.py:283
Functiondowncast
(x: float)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:509
Methoddraw
(choice_type, constraints, *, forced=None, convert_forced=True)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:836
Methoddraw_boolean
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:450
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:1136
Methoddraw_boolean
( self, value: bool, *, was_forced: bool, constraints: BooleanConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1022
Methoddraw_boolean
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:287
Methoddraw_bytes
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:440
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:1064
Methoddraw_bytes
( self, min_size: int = 0, max_size: int = COLLECTION_DEFAULT_MAX_SIZE, )
hypothesis/src/hypothesis/internal/conjecture/providers.py:1234
Methoddraw_bytes
( self, value: bytes, *, was_forced: bool, constraints: BytesConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1017
Methoddraw_bytes
( self, min_size: int = 0, max_size: int = COLLECTION_DEFAULT_MAX_SIZE, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:971
Methoddraw_bytes
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:293
Methoddraw_float
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:435
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:950
Methoddraw_float
( self, *, min_value: float = -math.inf, max_value: float = math.inf,
hypothesis/src/hypothesis/internal/conjecture/providers.py:1188
Methoddraw_float
( self, value: float, *, was_forced: bool, constraints: FloatConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1007
Methoddraw_float
( self, min_value: float = -math.inf, max_value: float = math.inf, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:903
Methoddraw_float
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:290
Functiondraw_integer
(*args, **kwargs)
hypothesis/tests/nocover/test_health_checks.py:91
Methoddraw_integer
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:430
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:831
Methoddraw_integer
( self, value: int, *, was_forced: bool, constraints: IntegerConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1000
Methoddraw_integer
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:284
Methoddraw_integer
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:597
Methoddraw_integer
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:642
Methoddraw_integer
(self, **constraints)
hypothesis/tests/conjecture/test_provider.py:732
Functiondraw_ordered_with_assume
(draw)
hypothesis/tests/cover/test_composite.py:42
Methoddraw_string
(self, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:445
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:1016
Methoddraw_string
( self, intervals: IntervalSet, *, min_size: int = 0, max_size: int =
hypothesis/src/hypothesis/internal/conjecture/providers.py:1224
Methoddraw_string
( self, value: str, *, was_forced: bool, constraints: StringConstraints )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1012
Methoddraw_string
( self, intervals: IntervalSet, *, min_size: int = 0, max_size: int =
hypothesis/src/hypothesis/internal/conjecture/data.py:947
Methoddraw_string
(self, *args, **constraints)
hypothesis/tests/conjecture/test_provider.py:296
Methodduplicated_nodes
Returns a list of nodes grouped (choice_type, value).
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1333
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:835
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:460
Functionenough_leaves
(t)
hypothesis/tests/cover/test_recursive.py:60
Functionensure_shellcheck
()
tooling/src/hypothesistooling/installers.py:87
Functionequivalent
Write source code for a property-based test of ``funcs``. The resulting test checks that calling each of the functions returns an equal value
hypothesis/src/hypothesis/extra/ghostwriter.py:1620
Methodevents_agree
(self)
hypothesis/tests/cover/test_database_backend.py:679
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:310
Methodexample_generating_inner_function
( ex: Ex, # type: ignore # mypy is overzealous in preventing covariant params )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:381
Functionexampledatabase
(request, tmp_path)
hypothesis/tests/cover/test_database_backend.py:116
Functionexecute
(data, function)
hypothesis/src/hypothesis/core.py:839
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_falsifying_example_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:388
Functionf
(shapes: nps.BroadcastableShapes)
hypothesis/tests/numpy/test_gen_data.py:1006
Functionf
(*, a, b=2)
hypothesis/tests/cover/test_annotations.py:70
Functionf
(x)
hypothesis/tests/cover/test_type_lookup.py:491
Functionf
()
hypothesis/tests/cover/test_explicit_examples.py:347
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_lookup.py:928
Functionfail
(candidate)
hypothesis/tests/conftest.py:108
Methodfail
(self, x, y)
hypothesis/tests/nocover/test_stateful.py:147
Methodfail_eventually
(self)
hypothesis/tests/cover/test_stateful.py:1064
Methodfail_fast
(self)
hypothesis/tests/cover/test_stateful.py:348
Methodfail_fast
(self)
hypothesis/tests/cover/test_stateful.py:909
Methodfail_fast
(self, param)
hypothesis/tests/cover/test_stateful.py:937
Methodfail_fast
(self)
hypothesis/tests/cover/test_stateful.py:1040
Methodfail_fast
(self, param)
hypothesis/tests/cover/test_stateful.py:1299
← previousnext →2,301–2,400 of 6,164, ranked by callers