Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,164 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,164
◇
Types & classes
721
↳
Endpoints
128
Method
keys_to_indices
(self)
hypothesis/src/hypothesis/internal/cache.py:79
Method
kill_branch
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:251
Function
kw
(marks=(), **kwargs)
hypothesis/tests/cover/test_subnormal_floats.py:26
Function
kwonlyargs_composites
(draw, *, kwarg1=None)
hypothesis/tests/cover/test_composite_kwonlyargs.py:19
Method
label
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:545
Method
label
A label is an opaque value that associates each span with its approximate origin, such as a particular strategy class or a particular
hypothesis/src/hypothesis/internal/conjecture/data.py:195
Method
label_indices
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:476
Method
ladder
(self, move)
hypothesis/tests/nocover/test_stateful.py:167
Function
large_mostly_non_overlapping
(xs)
hypothesis/tests/quality/test_shrink_quality.py:205
Function
last
(xs)
hypothesis/tests/cover/test_searchstrategy.py:40
Method
leaf
(self, x)
hypothesis/tests/nocover/test_stateful.py:55
Method
leave_Arg
(self, original_node, updated_node)
hypothesis/src/hypothesis/extra/codemods.py:100
Method
leave_Call
Convert positional to keyword arguments.
hypothesis/src/hypothesis/extra/codemods.py:174
Method
leave_FunctionDef
( self, _original_node: cst.FunctionDef, updated_node: cst.FunctionDef )
hypothesis/src/hypothesis/extra/_patching.py:147
Method
left_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:33
Method
left_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:40
Method
left_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:62
Method
limits
(self)
hypothesis/tests/cover/test_observability.py:317
Function
lint
()
tooling/src/hypothesistooling/__main__.py:107
Method
list_strategy
(self, elements)
hypothesis/tests/nocover/test_strategy_state.py:99
Function
listener
(event)
hypothesis/tests/redis/test_redis_exampledatabase.py:122
Function
listener
(event)
hypothesis/tests/cover/test_database_backend.py:745
Method
listener
(event)
hypothesis/tests/cover/test_database_backend.py:592
Function
listener1
(event)
hypothesis/tests/cover/test_database_backend.py:816
Function
listener2
(event)
hypothesis/tests/cover/test_database_backend.py:819
Method
lists_are_equivalent
(self)
hypothesis/tests/nocover/test_conjecture_int_list.py:33
Function
live_docs
()
tooling/src/hypothesistooling/__main__.py:665
Function
live_website
()
tooling/src/hypothesistooling/__main__.py:657
Function
load
Required for `pluggy` to load a plugin from setuptools entrypoints.
hypothesis/src/_hypothesis_pytestplugin.py:491
Function
logged
(f)
hypothesis/tests/cover/test_reflection.py:573
Method
lower_duplicated_characters
Select two string choices no more than 4 choices apart and simultaneously lower characters which appear in both strings. This helps c
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1519
Method
lower_integers_together
(self, chooser)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1486
Function
magic
Guess which ghostwriters to use, for a module or collection of functions. As for all ghostwriters, the ``except_`` argument should be an :cla
hypothesis/src/hypothesis/extra/ghostwriter.py:1198
Function
main
If `click` is not installed, tell the user to install it then exit.
hypothesis/src/hypothesis/extra/cli.py:60
Method
make_canonical
(self, f)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:50
Function
make_exceptions_with_cycles
()
hypothesis/tests/cover/test_escalation.py:75
Method
make_immutable
(self, value)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:26
Method
make_immutable
(self, value)
hypothesis/src/hypothesis/internal/conjecture/shrinking/collection.py:28
Function
many_examples
Helper decorator to apply the ``@example`` decorator multiple times, once for each given example.
hypothesis/tests/nocover/test_reusable_values.py:81
Method
map
(self, pack)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:139
Method
map
Returns a new strategy which generates a value from this one, and then returns ``pack(value)``. For example, ``integers().map(str)``
hypothesis/src/hypothesis/strategies/_internal/strategies.py:390
Method
map
(self, pack: Callable[[Ex], T])
hypothesis/src/hypothesis/strategies/_internal/strategies.py:608
Method
marker
(self)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:46
Function
match_qualname
(name)
hypothesis/src/hypothesis/extra/codemods.py:73
Method
max_children
(self)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:94
Method
max_examples
Once this many satisfying examples have been considered without finding any counter-example, Hypothesis will stop looking. N
hypothesis/src/hypothesis/_settings.py:755
Function
max_len
(size: int, element: Collection[object])
hypothesis/src/hypothesis/internal/filtering.py:359
Function
maybe_mark
(x)
hypothesis/tests/cover/test_type_lookup.py:269
Function
merge_dicts
( map1: collections.abc.Mapping[str, int], map2: collections.abc.Mapping[str, int] )
hypothesis/tests/ghostwriter/example_code/future_annotations.py:27
Function
method
(self)
hypothesis/tests/cover/test_stateful.py:619
Method
method
(self, a: int, b: int)
hypothesis/tests/cover/test_lookup.py:574
Method
method
(self, a, b)
hypothesis/tests/cover/test_reflection.py:524
Method
method
(self, **kwargs)
hypothesis/tests/cover/test_reflection.py:565
Function
min_len
(size: int, element: Collection[object])
hypothesis/src/hypothesis/internal/filtering.py:363
Method
minimize_duplicated_choices
Find choices that have been duplicated in multiple places and attempt to minimize all of the duplicates simultaneously. This lets us
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1379
Method
minimize_individual_choices
Attempt to minimize each choice in sequence. This is the pass that ensures that e.g. each integer we draw is a minimum value. So it's
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1710
Method
misaligned
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:384
Function
missing_dot_access_fun
(thing: _MissingDotAccess)
hypothesis/tests/cover/test_type_lookup_forward_ref.py:91
Function
missing_fun
(thing: _Missing)
hypothesis/tests/cover/test_type_lookup_forward_ref.py:113
Function
mixed_generic_func1
(obj: _FirstBase[A, str])
hypothesis/tests/nocover/test_drypython_returns.py:160
Function
mixed_generic_func2
(obj: _SecondBase[float, D])
hypothesis/tests/nocover/test_drypython_returns.py:164
Function
mock_finfo
Returns a finfo object compliant with the Array API Ensures all attributes are Python scalars and not NumPy scalars. This lets us ign
hypothesis/src/hypothesis/extra/array_api.py:1089
Function
mock_fixture
()
hypothesis/tests/pytest/test_fixtures.py:29
Function
mod2
(x)
hypothesis/tests/cover/test_filter_rewriting.py:246
Function
modules_imported_by
Return the set of modules imported transitively by mod.
hypothesis/src/_hypothesis_ftz_detector.py:73
Method
mostly_fails
(self, d)
hypothesis/tests/cover/test_stateful.py:1186
Method
move
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1159
Method
move
(self, k1, k2, v)
hypothesis/tests/nocover/test_database_agreement.py:60
Method
move
(self, k1, k2, v)
hypothesis/tests/redis/test_redis_exampledatabase.py:79
Method
mth
Indented method with existing example decorator.
hypothesis/tests/patching/callables.py:31
Method
mutator_groups
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:480
Function
mutually_broadcastable_shapes
( num_shapes: int, *, base_shape: Shape = (), min_dims: int = 0, max_dims: int | None = No
hypothesis/src/hypothesis/extra/array_api.py:742
Function
mutually_broadcastable_shapes
Return a strategy for a specified number of shapes N that are mutually-broadcastable with one another and with the provided base shape.
hypothesis/src/hypothesis/extra/_array_helpers.py:357
Function
mutually_broadcastable_shapes
(*args, **kwargs)
hypothesis/src/hypothesis/extra/numpy.py:1077
Function
my_integers
(draw: st.DrawFn)
hypothesis/tests/cover/test_composite.py:201
Method
my_invariant
(self)
hypothesis/tests/nocover/test_threading.py:56
Method
my_rule
(self, n)
hypothesis/tests/nocover/test_threading.py:52
Method
myfunc
(self, data)
hypothesis/tests/cover/test_stateful.py:65
Function
nameless_const
(x)
hypothesis/tests/cover/test_testdecorators.py:439
Function
nested
(chooser)
hypothesis/tests/conjecture/test_choice_tree.py:48
Method
new_entry
(self, key: K, value: V)
hypothesis/src/hypothesis/internal/cache.py:284
Method
new_entry
(self, key, value)
hypothesis/tests/nocover/test_cache_implementation.py:29
Method
new_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:39
Method
new_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:51
Method
new_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:74
Method
new_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:83
Method
new_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:144
Method
new_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:262
Method
new_key
(self, key, score)
hypothesis/tests/nocover/test_cache_implementation.py:61
Function
no_annotations
(foo=None, *, bar=False)
hypothesis/tests/ghostwriter/test_ghostwriter.py:243
Function
no_explicit
(_)
hypothesis/tests/cover/test_core.py:132
Function
no_phases
(_)
hypothesis/tests/cover/test_core.py:126
Function
nodes
(data)
hypothesis/tests/conjecture/test_shrinker.py:64
Function
nodes
(data)
hypothesis/tests/conjecture/test_engine.py:72
Function
nodes
(data)
hypothesis/tests/conjecture/test_data_tree.py:511
Function
nodes
(data)
hypothesis/tests/nocover/test_conjecture_engine.py:29
Method
nodes
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:938
Function
nofail
(candidate)
hypothesis/tests/conftest.py:126
Function
non_annotated_func
(a, b=2, *, c, d=4)
hypothesis/tests/cover/test_lookup.py:460
Function
non_resolvable_arg
(x: NotResolvable)
hypothesis/tests/ghostwriter/test_ghostwriter.py:131
← previous
next →
2,601–2,700 of 6,164, ranked by callers