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
Function
add
(a: float, b: float)
hypothesis/tests/ghostwriter/test_expected_output.py:90
Method
add_a
(self, a)
hypothesis/tests/nocover/test_stateful.py:290
Method
add_category
Update unicode state to match sre_parse object ``category``.
hypothesis/src/hypothesis/strategies/_internal/regex.py:170
Function
add_custom_classes
(c1: CustomClass, c2: CustomClass | None = None)
hypothesis/tests/ghostwriter/example_code/future_annotations.py:21
Method
add_one
(self)
hypothesis/tests/cover/test_stateful.py:76
Method
add_shape
(loop, core)
hypothesis/src/hypothesis/extra/_array_helpers.py:536
Function
addx
(x, y)
hypothesis/tests/cover/test_fuzz_one_input.py:115
Function
addy
(x, y)
hypothesis/tests/cover/test_fuzz_one_input.py:119
Method
adjust_float
(self, source, offset)
hypothesis/tests/nocover/test_strategy_state.py:111
Method
agree_on_values
(self, i)
hypothesis/tests/nocover/test_conjecture_int_list.py:51
Function
alias_fun
(thing: _Alias)
hypothesis/tests/cover/test_type_lookup_forward_ref.py:63
Function
all_filtered
(chooser)
hypothesis/tests/conjecture/test_choice_tree.py:66
Method
allow_transition
Shrink to data that strictly pareto dominates the current best value we've seen, which is the current target of the sh
hypothesis/src/hypothesis/internal/conjecture/pareto.py:332
Function
allow_unknown_lambdas
(monkeypatch)
hypothesis/tests/conftest.py:123
Function
always_imported_modules
()
hypothesis/src/_hypothesis_ftz_detector.py:69
Function
always_passes
Stand-in for a fixed version of an inner test. For example, pytest-trio would take the inner test, wrap it in an async-to-sync converter, and
hypothesis/tests/nocover/test_modify_inner_test.py:19
Method
an_invariant
(self)
hypothesis/tests/cover/test_stateful.py:587
Function
annotated_any
(x: Any)
hypothesis/tests/ghostwriter/test_ghostwriter.py:119
Function
annotated_func
(a: int, b: int = 2, *, c: int, d: int = 4)
hypothesis/tests/cover/test_lookup.py:432
Method
another_invariant
(self)
hypothesis/tests/cover/test_stateful.py:592
Function
any_call
(draw)
hypothesis/tests/cover/test_randoms.py:122
Method
append_choice
(choice_type: ChoiceTypeT, choice: ChoiceT)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:713
Function
arg_decorator
(*s)
hypothesis/tests/cover/test_lambda_formatting.py:225
Function
arg_more_than_ten
(x: MoreThanTenInt)
hypothesis/tests/cover/test_lookup_py39.py:58
Function
arg_positive
(x: PositiveInt)
hypothesis/tests/cover/test_lookup_py39.py:54
Function
arrays
( dtype: DataType | str | st.SearchStrategy[DataType] | st.SearchStrategy[str], shape: int | S
hypothesis/src/hypothesis/extra/array_api.py:945
Method
as_result
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:593
Function
ast_arguments_matches_signature
(args: ast.arguments, sig: Signature)
hypothesis/src/hypothesis/internal/reflection.py:240
Method
attempt_replace
Try replacing the current node in the current best test case with a value which is "k times larger", where the exact
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:112
Method
backend
.. warning:: EXPERIMENTAL AND UNSTABLE - see :ref:`alternative-backends`. The importable name of a backend which Hypoth
hypothesis/src/hypothesis/_settings.py:1021
Function
bad
(x)
hypothesis/tests/nocover/test_find.py:54
Method
bad_invariant_a
(self)
hypothesis/tests/nocover/test_stateful.py:258
Method
bad_invariant_b
(self)
hypothesis/tests/nocover/test_stateful.py:264
Method
bad_invariant_c
(self)
hypothesis/tests/nocover/test_stateful.py:270
Method
bad_invariant_d
(self)
hypothesis/tests/nocover/test_stateful.py:276
Method
bad_method_a
(self, x)
hypothesis/tests/nocover/test_stateful.py:234
Method
bad_method_b
(self, x)
hypothesis/tests/nocover/test_stateful.py:240
Method
bad_method_c
(self, x)
hypothesis/tests/nocover/test_stateful.py:246
Method
bad_method_d
(self, x)
hypothesis/tests/nocover/test_stateful.py:252
Function
bad_unparse
(node)
hypothesis/tests/cover/test_lambda_inlining.py:141
Function
bar
(x)
hypothesis/tests/nocover/test_pretty_repr.py:24
Function
bar
(x)
hypothesis/tests/nocover/test_filtering.py:63
Function
bar
()
hypothesis/tests/cover/test_control.py:101
Method
bar
(self)
hypothesis/tests/cover/test_lookup.py:913
Method
bar
(cls)
hypothesis/tests/cover/test_reflection.py:172
Function
basic_indices
( shape: Shape, *, min_dims: int = 0, max_dims: int | None = None, allow_newaxis: Literal[
hypothesis/src/hypothesis/extra/numpy.py:1123
Function
baz
(x)
hypothesis/tests/nocover/test_pretty_repr.py:28
Method
baz
(cls)
hypothesis/tests/cover/test_reflection.py:175
Method
bazzle
(self, y)
hypothesis/tests/cover/test_lookup_py38.py:239
Function
binary_operation
Write property tests for the binary operation ``func``. While :wikipedia:`binary operations <Binary_operation>` are not particularly common,
hypothesis/src/hypothesis/extra/ghostwriter.py:1668
Function
boolean_constraints
(draw: DrawFn, *, use_forced: bool = False)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:306
Function
boolean_dtypes
()
hypothesis/src/hypothesis/extra/array_api.py:968
Method
boost
(k: int)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1448
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/flatmapped.py:64
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:57
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:456
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:885
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1066
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1262
Method
branches
(self)
hypothesis/src/hypothesis/internal/scrutineer.py:79
Method
branches
(self)
hypothesis/tests/nocover/test_threading.py:222
Method
break_the_db
(i)
hypothesis/tests/django/toystore/test_basic_configuration.py:55
Function
broadcastable_shapes
Return a strategy for shapes that are broadcast-compatible with the provided shape. Examples from this strategy shrink towards a shape with l
hypothesis/src/hypothesis/extra/_array_helpers.py:176
Function
broken
(*args, **kwargs)
hypothesis/tests/cover/test_charmap.py:174
Function
broken_mkstemp
(dir)
hypothesis/tests/cover/test_charmap.py:206
Function
build
(x)
hypothesis/tests/cover/test_flakiness.py:210
Function
build_intervals
(intervals: list[int])
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:43
Method
bunch
(self, source)
hypothesis/tests/nocover/test_stateful.py:106
Method
bunch
(self, source)
hypothesis/tests/cover/test_stateful.py:136
Method
bundle_length
(self)
hypothesis/tests/cover/test_stateful.py:225
Method
bundle_length
(self)
hypothesis/tests/cover/test_stateful.py:266
Method
bye
(self, v)
hypothesis/tests/nocover/test_stateful.py:133
Method
bye
(self, hi)
hypothesis/tests/cover/test_stateful.py:384
Function
bytes_constraints
( draw: DrawFn, *, use_min_size: bool | None = None, use_max_size: bool | None = None, use
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:228
Method
cache
(self)
hypothesis/src/hypothesis/internal/cache.py:319
Function
cacheable
(fn: T)
hypothesis/src/hypothesis/strategies/_internal/utils.py:46
Method
cached
(self, *keys)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:367
Method
cached_calculations
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:364
Function
cached_strategy
(*args, **kwargs)
hypothesis/src/hypothesis/strategies/_internal/utils.py:51
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/misc.py:101
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:76
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:93
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/collections.py:70
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:307
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:703
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:828
Method
calc_has_reusable_values
(self, recur)
hypothesis/src/hypothesis/extra/lark.py:194
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/misc.py:57
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:96
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:295
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:710
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:831
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1034
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1164
Method
calc_is_empty
(self, recur)
hypothesis/src/hypothesis/stateful.py:628
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/misc.py:93
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/flatmapped.py:40
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:73
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:90
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/functions.py:34
← previous
next →
2,001–2,100 of 6,164, ranked by callers