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
↓ 2 callers
Function
charmap_file
(fname: str = "charmap")
hypothesis/src/hypothesis/internal/charmap.py:72
↓ 2 callers
Function
check
()
hypothesis/tests/nocover/test_threading.py:139
↓ 2 callers
Function
check_block
(name, depth)
hypothesis/src/hypothesis/internal/coverage.py:70
↓ 2 callers
Function
check_sample
( values: type[enum.Enum] | Sequence[T], strategy_name: str )
hypothesis/src/hypothesis/internal/conjecture/utils.py:93
↓ 2 callers
Method
check_valid
(self)
hypothesis/src/hypothesis/internal/cache.py:348
↓ 2 callers
Function
check_xp_attributes
(xp: Any, attributes: list[str])
hypothesis/src/hypothesis/extra/array_api.py:81
↓ 2 callers
Function
choice_types_constraints
(strategy_constraints=None, *, use_forced=False)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:327
↓ 2 callers
Function
choices_size
(choices: Iterable[ChoiceT])
hypothesis/src/hypothesis/internal/conjecture/choice.py:616
↓ 2 callers
Function
choices_to_json
(choices: tuple[ChoiceT, ...])
hypothesis/src/hypothesis/internal/observability.py:105
↓ 2 callers
Function
clamped_shrink_towards
(constraints)
hypothesis/tests/conjecture/common.py:150
↓ 2 callers
Method
clear_change_tracking
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1103
↓ 2 callers
Function
codespell
(*files)
tooling/src/hypothesistooling/__main__.py:91
↓ 2 callers
Function
compile_requirements
(*, upgrade=False)
tooling/src/hypothesistooling/__main__.py:358
↓ 2 callers
Method
complex_dtypes
(self)
hypothesis/src/hypothesis/extra/array_api.py:1015
↓ 2 callers
Method
compress
(self, values)
hypothesis/tests/django/toystore/forms.py:216
↓ 2 callers
Function
compute_new_version
()
tooling/src/hypothesistooling/release.py:337
↓ 2 callers
Method
conclude_test
Called when ``conclude_test`` is called on the observed ``ConjectureData``, with the same arguments. Note that this is called after `
hypothesis/src/hypothesis/internal/conjecture/data.py:531
↓ 2 callers
Function
condition
(x)
hypothesis/tests/nocover/test_database_usage.py:89
↓ 2 callers
Method
condition
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1222
↓ 2 callers
Function
constraints_strategy
(choice_type, strategy_constraints=None, *, use_forced=False)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:314
↓ 2 callers
Function
consumes
When introducing a rule in a RuleBasedStateMachine, this function can be used to mark bundles from which each value used in a step with the gi
hypothesis/src/hypothesis/stateful.py:662
↓ 2 callers
Function
convert
(node: ast.AST, argname: str)
hypothesis/src/hypothesis/internal/filtering.py:83
↓ 2 callers
Function
count
()
hypothesis/tests/cover/test_slippage.py:184
↓ 2 callers
Function
count_between_floats
(x: float, y: float, width: int = 64)
hypothesis/src/hypothesis/internal/floats.py:63
↓ 2 callers
Method
debug
(self, msg: str)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:430
↓ 2 callers
Method
debug_data
(self, data: ConjectureData | ConjectureResult)
hypothesis/src/hypothesis/internal/conjecture/engine.py:954
↓ 2 callers
Function
debug_report
(text: str)
hypothesis/src/hypothesis/reporting.py:49
↓ 2 callers
Method
default
(cls)
hypothesis/src/hypothesis/_settings.py:541
↓ 2 callers
Method
delete
Remove ``value`` from ``key``. If ``value`` is not present in ``key``, silently do nothing.
hypothesis/src/hypothesis/database.py:248
↓ 2 callers
Method
delete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:737
↓ 2 callers
Method
delete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:799
↓ 2 callers
Method
delete
(self, key: bytes, value: bytes)
hypothesis/tests/cover/test_database_backend.py:804
↓ 2 callers
Function
deprecate_random_in_strategy
(fmt: str, *args: Any)
hypothesis/src/hypothesis/control.py:107
↓ 2 callers
Function
depth
(x)
hypothesis/tests/nocover/test_recursive.py:43
↓ 2 callers
Function
describe_targets
Return a list of lines describing the results of `target`, if any.
hypothesis/src/hypothesis/statistics.py:31
↓ 2 callers
Function
distinct_int64_integers
(draw)
hypothesis/tests/array_api/test_arrays.py:493
↓ 2 callers
Method
do_filtered_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1247
↓ 2 callers
Method
draw
( self, strategy: "SearchStrategy[Ex]", label: int | None = None, observe_as:
hypothesis/src/hypothesis/internal/conjecture/data.py:1167
↓ 2 callers
Method
draw_bytes
( self, value: bytes, *, constraints: BytesConstraints, was_forced: bool )
hypothesis/src/hypothesis/internal/conjecture/data.py:560
↓ 2 callers
Function
draw_choice
( choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *, random: Random )
hypothesis/src/hypothesis/internal/conjecture/data.py:1358
↓ 2 callers
Method
draw_integer
( self, min_value: int | None = None, max_value: int | None = None, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:864
↓ 2 callers
Method
draw_string
( self, value: str, *, constraints: StringConstraints, was_forced: bool )
hypothesis/src/hypothesis/internal/conjecture/data.py:555
↓ 2 callers
Method
draw_symbol
( self, data: ConjectureData, symbol: Symbol, draw_state: list[str], )
hypothesis/src/hypothesis/extra/lark.py:171
↓ 2 callers
Function
dtype_for_elements_strategy
(s)
hypothesis/src/hypothesis/extra/pandas/impl.py:43
↓ 2 callers
Function
dtype_from_name
(xp: Any, name: str)
hypothesis/src/hypothesis/extra/array_api.py:160
↓ 2 callers
Function
encode_failure
(choices: Iterable[ChoiceT])
hypothesis/src/hypothesis/core.py:418
↓ 2 callers
Function
endswith
(l1: Sequence[T], l2: Sequence[T])
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:510
↓ 2 callers
Method
enter_context
(self, new_limit: int, *, current_limit: int)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:331
↓ 2 callers
Function
escape_unicode_characters
(s: str)
hypothesis/src/hypothesis/internal/compat.py:95
↓ 2 callers
Function
everything_except
Recipe copied from the docstring of ``from_type``
hypothesis/tests/nocover/test_from_type_recipe.py:26
↓ 2 callers
Method
exit_context
(self, new_limit: int, *, check: bool = True)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:342
↓ 2 callers
Function
f
(n)
hypothesis/tests/nocover/test_integer_ranges.py:51
↓ 2 callers
Function
f
(u, v)
hypothesis/tests/cover/test_testdecorators.py:440
↓ 2 callers
Function
f2
()
hypothesis/tests/cover/test_reflection.py:618
↓ 2 callers
Method
fail
(self, source)
hypothesis/tests/cover/test_stateful.py:877
↓ 2 callers
Method
fail_fast
(self)
hypothesis/tests/cover/test_stateful.py:291
↓ 2 callers
Function
failure_exceptions_to_catch
Return a tuple of exceptions meaning 'this test has failed', to catch. This is intended to cover most common test runners; if you would like
hypothesis/src/hypothesis/core.py:792
↓ 2 callers
Method
filter
(self, condition: Callable[[Ex], Any])
hypothesis/src/hypothesis/strategies/_internal/core.py:2420
↓ 2 callers
Method
filter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/strings.py:209
↓ 2 callers
Function
find_random
( s: st.SearchStrategy[T], condition: Callable[[T], bool], seed=None )
hypothesis/tests/nocover/test_precise_shrinking.py:226
↓ 2 callers
Function
flatten
(x)
hypothesis/tests/nocover/test_recursive.py:23
↓ 2 callers
Function
flush_to_zero
()
hypothesis/src/_hypothesis_ftz_detector.py:46
↓ 2 callers
Function
flushes_to_zero
Infer whether build of array module has its float dtype of the specified width flush subnormals to zero We do this per-width because compiler
hypothesis/tests/array_api/common.py:48
↓ 2 callers
Function
foo
(draw)
hypothesis/tests/nocover/test_labels.py:28
↓ 2 callers
Function
foo
(x, y)
hypothesis/tests/cover/test_validation.py:92
↓ 2 callers
Function
foo
(x, y)
hypothesis/tests/cover/test_explicit_examples.py:68
↓ 2 callers
Function
format_exception
(err, tb)
hypothesis/src/hypothesis/internal/escalation.py:161
↓ 2 callers
Method
from_characters_args
( cls, *, codec: str | None = None, min_codepoint: int | None = None,
hypothesis/src/hypothesis/strategies/_internal/strings.py:61
↓ 2 callers
Function
from_field
Return a strategy for values that fit the given field. This function is used by :func:`~hypothesis.extra.django.from_form` and :func:`~hypoth
hypothesis/src/hypothesis/extra/django/_fields.py:356
↓ 2 callers
Method
from_path
(cls, path: str)
hypothesis/src/hypothesis/internal/scrutineer.py:264
↓ 2 callers
Function
fulfill
Decorate ``contract_func`` to reject calls which violate preconditions, and retry them with different arguments. This is a convenience functi
hypothesis/src/hypothesis/extra/dpcontracts.py:26
↓ 2 callers
Method
generate_novel_prefix
Uses the tree to proactively generate a starting choice sequence that we haven't explored yet for this test. When this method is call
hypothesis/src/hypothesis/internal/conjecture/engine.py:779
↓ 2 callers
Function
get_executor
(runner)
hypothesis/src/hypothesis/core.py:827
↓ 2 callers
Function
get_integer_predicate_bounds
(predicate: Predicate)
hypothesis/src/hypothesis/internal/filtering.py:304
↓ 2 callers
Function
get_mypy_output
(fname, *extra_args)
whole_repo_tests/types/test_mypy.py:40
↓ 2 callers
Function
get_numeric_predicate_bounds
Shared logic for understanding numeric bounds. We then specialise this in the other functions below, to ensure that e.g. all the values are r
hypothesis/src/hypothesis/internal/filtering.py:220
↓ 2 callers
Function
get_random_for_wrapped_test
(test, wrapped_test)
hypothesis/src/hypothesis/core.py:708
↓ 2 callers
Function
get_seeder_and_restorer
Return a pair of functions which respectively seed all and restore the state of all registered PRNGs. This is used by the core engine via `de
hypothesis/src/hypothesis/internal/entropy.py:165
↓ 2 callers
Method
getstate
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:337
↓ 2 callers
Method
grab_redirects
Inspect redirects option in conf.py and returns dict mapping docname to target (with expanded placeholder).
hypothesis/docs/_ext/hypothesis_redirects.py:74
↓ 2 callers
Function
has_changes
(files)
tooling/src/hypothesistooling/git.py:53
↓ 2 callers
Method
has_existing_examples
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1010
↓ 2 callers
Function
has_varargs
(*args)
hypothesis/tests/cover/test_validation.py:42
↓ 2 callers
Function
helper
()
hypothesis/tests/cover/test_lookup.py:649
↓ 2 callers
Function
identify_ftz_culprits
Find the modules in sys.modules which cause "mod" to be imported.
hypothesis/src/_hypothesis_ftz_detector.py:90
↓ 2 callers
Method
incorporate_test_data
Takes a ConjectureData or Overrun object updates the current shrink_target if this data represents an improvement over it.
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:418
↓ 2 callers
Function
inner
(x)
hypothesis/tests/cover/test_random_module.py:106
↓ 2 callers
Function
inner
(x)
hypothesis/tests/cover/test_core.py:73
↓ 2 callers
Function
inner
(a: UnknownType)
hypothesis/tests/cover/test_lookup.py:512
↓ 2 callers
Function
int_to_byte
(i: int)
hypothesis/src/hypothesis/internal/compat.py:107
↓ 2 callers
Function
invalid_test
(x)
hypothesis/tests/nocover/test_modify_inner_test.py:66
↓ 2 callers
Method
inverse_cdf
(self, u: float)
hypothesis/src/hypothesis/internal/statistics.py:134
↓ 2 callers
Function
is_a_type_alias_type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:367
↓ 2 callers
Function
is_local_module_file
(path: str)
hypothesis/src/hypothesis/internal/constants_ast.py:249
↓ 2 callers
Function
is_typed_named_tuple
Return True if cls is probably a subtype of `typing.NamedTuple`. Unfortunately types created with `class T(NamedTuple):` actually subclass `t
hypothesis/src/hypothesis/internal/compat.py:111
↓ 2 callers
Function
l
(e,n,t,r)
website/theme/static/prism.js:3
↓ 2 callers
Function
length_bounds_from_validators
(field)
hypothesis/src/hypothesis/extra/django/_fields.py:218
↓ 2 callers
Method
make_canonical
Convert immutable value into a canonical and hashable, but not necessarily equal, representation of itself. This representation is us
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:137
↓ 2 callers
Method
make_immutable
Convert value into an immutable representation of itself. It is these immutable versions that the shrinker will work on. Defaults to
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:148
↓ 2 callers
Method
minimize_nodes
(self, nodes)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1619
← previous
next →
601–700 of 6,164, ranked by callers