Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,838 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,838
◇
Types & classes
772
↳
Endpoints
144
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:944
Method
as_result
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:670
Function
ast_arguments_matches_signature
(args: ast.arguments, sig: Signature)
hypothesis/src/hypothesis/internal/reflection.py:238
Function
async_func
(a: int)
hypothesis/tests/cover/test_functions.py:336
Function
async_gen_func
(a: int)
hypothesis/tests/cover/test_functions.py:434
Function
async_gen_func_no_annotation
()
hypothesis/tests/cover/test_functions.py:454
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:110
Method
backend
.. warning:: EXPERIMENTAL AND UNSTABLE - see :ref:`alternative-backends`. The importable name of a backend which Hypoth
hypothesis/src/hypothesis/_settings.py:1039
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:100
Method
bar
(self)
hypothesis/tests/cover/test_lookup.py:904
Method
bar
(cls)
hypothesis/tests/cover/test_reflection.py:179
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:182
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:1689
Function
boolean_constraints
(draw: DrawFn, *, use_forced: bool = False)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:333
Function
boolean_dtypes
()
hypothesis/src/hypothesis/extra/array_api.py:967
Method
boost
(k: int)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1473
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/flatmapped.py:64
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:59
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:490
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1032
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1228
Method
branches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1477
Method
branches
(self)
hypothesis/src/hypothesis/internal/scrutineer.py:76
Method
branches
(self)
hypothesis/tests/nocover/test_threading.py:258
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:201
Function
build_intervals
(intervals: list[int])
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:64
Method
bunch
(self, source)
hypothesis/tests/nocover/test_stateful.py:106
Method
bunch
(self, source)
hypothesis/tests/cover/test_stateful.py:142
Method
bundle_length
(self)
hypothesis/tests/cover/test_stateful.py:231
Method
bundle_length
(self)
hypothesis/tests/cover/test_stateful.py:272
Method
bye
(self, v)
hypothesis/tests/nocover/test_stateful.py:133
Method
bye
(self, hi)
hypothesis/tests/cover/test_stateful.py:390
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:255
Method
cache
(self)
hypothesis/src/hypothesis/internal/cache.py:359
Function
cacheable
(fn: T)
hypothesis/src/hypothesis/strategies/_internal/utils.py:46
Method
cached
(self, *keys)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:370
Method
cached_calculations
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:367
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:106
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:78
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:108
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/collections.py:73
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:337
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:758
Method
calc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:913
Method
calc_has_reusable_values
(self, recur)
hypothesis/src/hypothesis/extra/lark.py:211
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:111
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:325
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:765
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:916
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1173
Method
calc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1341
Method
calc_is_empty
(self, recur: Callable[[Any], bool])
hypothesis/src/hypothesis/stateful.py:804
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/misc.py:98
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:75
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:105
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/functions.py:97
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/collections.py:108
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/collections.py:220
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/collections.py:617
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:328
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:910
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1170
Method
calc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1338
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/core.py:1084
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/core.py:2044
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/flatmapped.py:43
Method
calc_label
Deferred strategies don't have a calculated label, because we would end up having to calculate the fixed point of some hash function in
hypothesis/src/hypothesis/strategies/_internal/deferred.py:62
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:118
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/shared.py:33
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/collections.py:64
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/collections.py:203
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:707
Method
calc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:949
Function
callback
(observation)
hypothesis/tests/cover/test_observability.py:927
Method
calls
Return the number of calls that have been made to the underlying test function.
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:381
Method
calls
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:41
Function
can_cast
Determine if value can be cast to type.
hypothesis/src/hypothesis/strategies/_internal/types.py:809
← previous
next →
2,201–2,300 of 6,838, ranked by callers