Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,441 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,441
◇
Types & classes
729
↳
Endpoints
136
↓ 4 callers
Method
show_changed
(self)
hypothesis/src/hypothesis/_settings.py:1110
↓ 4 callers
Function
stdtr
Student's t CDF for integer df >= 1, evaluated at t. Closed-form finite sum from Abramowitz & Stegun 26.7.7-8.
hypothesis/src/hypothesis/internal/statistics.py:24
↓ 4 callers
Function
test
(ls)
hypothesis/tests/cover/test_replay_logic.py:33
↓ 4 callers
Function
test
(i)
hypothesis/tests/cover/test_seed_printing.py:52
↓ 4 callers
Method
test_function
(self, data: ConjectureData)
hypothesis/src/hypothesis/internal/conjecture/engine.py:531
↓ 4 callers
Function
timezones
A strategy for :class:`python:zoneinfo.ZoneInfo` objects. If ``no_cache=True``, the generated instances are constructed using :meth:`ZoneInfo
hypothesis/src/hypothesis/strategies/_internal/datetime.py:835
↓ 4 callers
Method
track_arg_label
(self, label: str)
hypothesis/src/hypothesis/control.py:168
↓ 4 callers
Function
with_register_backend
(name, provider_cls)
hypothesis/src/hypothesis/internal/conjecture/providers.py:384
↓ 4 callers
Function
write_entries
(tmp_path, entries)
whole_repo_tests/whole_repo/test_validate_branch_check.py:22
↓ 3 callers
Method
__assert_not_frozen
(self, name: str)
hypothesis/src/hypothesis/internal/conjecture/data.py:1163
↓ 3 callers
Method
__exit__
(self, *args, **kwargs)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:406
↓ 3 callers
Method
__init__
(self, testcounter: int)
hypothesis/src/hypothesis/errors.py:311
↓ 3 callers
Method
__init__
(self, min_value, max_value, timezones_strat)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:583
↓ 3 callers
Method
__init__
( self, elements: SearchStrategy[Ex], min_size: int = 0, max_size: float | int
hypothesis/src/hypothesis/strategies/_internal/collections.py:161
↓ 3 callers
Method
__init__
(self, field_count=5, **kwargs)
hypothesis/tests/django/toystore/forms.py:84
↓ 3 callers
Method
__underlying_index
(self, i: int)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:246
↓ 3 callers
Method
_broadcast_change
Called when a value has been either added to or deleted from a key in the underlying database store. The possible values for ``event`
hypothesis/src/hypothesis/database.py:314
↓ 3 callers
Function
_callbacks
()
hypothesis/tests/cover/test_observability.py:631
↓ 3 callers
Function
_choice_to_json
(choice: ChoiceT | None)
hypothesis/src/hypothesis/internal/observability.py:85
↓ 3 callers
Function
_comparator_bound
Return ``(op, bound)`` for filter conditions like ``partial(op, bound)``, with a single positional argument to one of the five comparison operator
hypothesis/src/hypothesis/strategies/_internal/datetime.py:51
↓ 3 callers
Function
_db_for_path
( path: StrPathT | UniqueIdentifier | Literal[":memory:"] | None = None, )
hypothesis/src/hypothesis/database.py:85
↓ 3 callers
Function
_decode_choice
(value)
hypothesis/tests/cover/test_observability.py:418
↓ 3 callers
Method
_draw_bits
(self, n)
hypothesis/src/hypothesis/internal/conjecture/providers.py:1122
↓ 3 callers
Function
_draw_valid_bounds
(data, shape, max_dims, *, permit_none=True)
hypothesis/tests/numpy/test_gen_data.py:592
↓ 3 callers
Method
_ensure_thread
(self)
hypothesis/src/hypothesis/database.py:1179
↓ 3 callers
Function
_findall_from_root
(junit_xml, path)
hypothesis/tests/pytest/test_junit.py:37
↓ 3 callers
Function
_from_dtype
Return a strategy for any value of the given dtype. Values generated are of the Python scalar which is :xp-ref:`promotable <type_promotion.ht
hypothesis/src/hypothesis/extra/array_api.py:175
↓ 3 callers
Function
_from_type
(thing: type[Ex])
hypothesis/src/hypothesis/strategies/_internal/core.py:1322
↓ 3 callers
Function
_hypothesis_parse_gufunc_signature
(signature)
hypothesis/src/hypothesis/extra/_array_helpers.py:301
↓ 3 callers
Method
_initialize_db
(self)
hypothesis/src/hypothesis/database.py:989
↓ 3 callers
Function
_narrowed_bounds
Narrow [min_value, max_value] to satisfy the condition ``func(arg, x)``. ``shift(value, steps)`` moves value by that many of the smallest represe
hypothesis/src/hypothesis/strategies/_internal/datetime.py:64
↓ 3 callers
Method
_note_deprecation
(self)
hypothesis/src/hypothesis/internal/observability.py:361
↓ 3 callers
Function
_position_to_float
Inverse of :func:`_float_to_position` on the integer-valued range. Always returns an integer-valued, non-negative float.
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:38
↓ 3 callers
Function
_rule_qualname
(f: Any)
hypothesis/src/hypothesis/stateful.py:808
↓ 3 callers
Function
_strip_typevars
(type_)
hypothesis/src/hypothesis/extra/ghostwriter.py:246
↓ 3 callers
Function
_timezones_kind
Classify the values a timezones= strategy can generate: "none" if only None, "aware" if only tzinfo instances, or "unknown" if we can't tell.
hypothesis/src/hypothesis/strategies/_internal/datetime.py:92
↓ 3 callers
Method
_transform
( self, # https://github.com/python/mypy/issues/7049, we're not writing `element` # an
hypothesis/src/hypothesis/strategies/_internal/strategies.py:708
↓ 3 callers
Function
_try_inline_lambda
Helper: run _try_inline_lambda and return the printer output, or None.
hypothesis/tests/cover/test_lambda_inlining.py:18
↓ 3 callers
Function
_valid_syntax_repr
(strategy)
hypothesis/src/hypothesis/extra/ghostwriter.py:673
↓ 3 callers
Function
_validate_enum_value
(cls: Any, value: object, *, name: str)
hypothesis/src/hypothesis/_settings.py:426
↓ 3 callers
Method
_value_path
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:476
↓ 3 callers
Function
_xp_without
A copy of mock_xp with the given attributes removed.
hypothesis/tests/array_api/test_from_dtype.py:40
↓ 3 callers
Function
a
(x)
hypothesis/tests/cover/test_health_checks.py:126
↓ 3 callers
Function
array_shapes
Return a strategy for array shapes (tuples of int >= 1). * ``min_dims`` is the smallest length that the generated shape can possess. * ``max_
hypothesis/src/hypothesis/extra/_array_helpers.py:93
↓ 3 callers
Function
assert_runs_to_output
(TestClass, output)
hypothesis/tests/nocover/test_stateful.py:41
↓ 3 callers
Function
badly_draw_lists
(draw, m=0)
hypothesis/tests/cover/test_composite.py:27
↓ 3 callers
Function
bits_to_bytes
The number of bytes required to represent an n-bit number. Equivalent to (n + 7) // 8, but slightly faster. This really is called enough times
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:521
↓ 3 callers
Function
bump_version_info
(version_info, release_type)
tooling/src/hypothesistooling/release.py:101
↓ 3 callers
Function
calc_label_from_callable
(f: Callable)
hypothesis/src/hypothesis/internal/conjecture/utils.py:39
↓ 3 callers
Method
cdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:130
↓ 3 callers
Function
check
()
hypothesis/tests/nocover/test_threading.py:175
↓ 3 callers
Method
check_exhausted
Recalculates is_exhausted if necessary, and then returns it. A node is exhausted if: - Its transition is Conclusion or Kille
hypothesis/src/hypothesis/internal/conjecture/datatree.py:477
↓ 3 callers
Function
check_valid_integer
Checks that value is either unspecified, or a valid integer. Otherwise raises InvalidArgument.
hypothesis/src/hypothesis/internal/validation.py:41
↓ 3 callers
Function
choice_count
(choices: Sequence[ChoiceT | ChoiceTemplate])
hypothesis/src/hypothesis/internal/conjecture/engine.py:237
↓ 3 callers
Method
choices
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:961
↓ 3 callers
Method
conclude_test
( self, status: Status, interesting_origin: InterestingOrigin | None = None, )
hypothesis/src/hypothesis/internal/conjecture/data.py:1344
↓ 3 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:725
↓ 3 callers
Function
convert_kwargs
(name, kwargs)
hypothesis/src/hypothesis/strategies/_internal/random.py:355
↓ 3 callers
Function
current_version
()
tooling/src/hypothesistooling/release.py:355
↓ 3 callers
Function
datetime_does_not_exist
This function tests whether the given datetime can be round-tripped to and from UTC. It is an exact inverse of (and very similar to) the dateutil
hypothesis/src/hypothesis/strategies/_internal/datetime.py:155
↓ 3 callers
Method
debug
(self, *args: object)
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:78
↓ 3 callers
Function
deferred
A deferred strategy allows you to write a strategy that references other strategies that have not yet been defined. This allows for the easy d
hypothesis/src/hypothesis/strategies/_internal/core.py:2577
↓ 3 callers
Function
do_conversion_test
(f, args, kwargs)
hypothesis/tests/cover/test_reflection.py:50
↓ 3 callers
Method
draw_string
( self, intervals: IntervalSet, *, min_size: int = 0, max_size: int =
hypothesis/tests/conjecture/test_provider.py:152
↓ 3 callers
Function
e
(a, *args, **kwargs)
hypothesis/tests/common/arguments.py:17
↓ 3 callers
Function
elements_and_dtype
(elements, dtype, source=None)
hypothesis/src/hypothesis/extra/pandas/impl.py:137
↓ 3 callers
Method
exit_with
(self, reason: ExitReason)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1107
↓ 3 callers
Function
extract_bits
(x: int, /, width: int | None = None)
hypothesis/src/hypothesis/internal/compat.py:220
↓ 3 callers
Function
f
(x)
hypothesis/tests/nocover/test_regressions.py:27
↓ 3 callers
Function
f
()
hypothesis/tests/cover/test_random_module.py:237
↓ 3 callers
Function
f
(x)
hypothesis/tests/cover/test_reporting.py:37
↓ 3 callers
Function
f
(u, v)
hypothesis/tests/cover/test_testdecorators.py:439
↓ 3 callers
Function
f1
(n)
hypothesis/tests/nocover/test_randomization.py:36
↓ 3 callers
Function
failing_output
(test)
hypothesis/tests/cover/test_functions.py:258
↓ 3 callers
Method
fetch
Return an iterable over all values matching this key.
hypothesis/src/hypothesis/database.py:243
↓ 3 callers
Method
fetch
(self, key)
hypothesis/tests/cover/test_phases.py:64
↓ 3 callers
Function
float_to_lex
(f: float)
hypothesis/src/hypothesis/internal/conjecture/floats.py:193
↓ 3 callers
Function
forced_or_cached_value
(target: SearchStrategy)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:114
↓ 3 callers
Function
from_dtype
Creates a strategy which can generate any value of the given dtype. Compatible parameters are passed to the inferred strategy function while
hypothesis/src/hypothesis/extra/numpy.py:127
↓ 3 callers
Method
from_path
(cls, path: str)
hypothesis/src/hypothesis/internal/scrutineer.py:267
↓ 3 callers
Function
frozensets
This is identical to the sets function but instead returns frozensets.
hypothesis/src/hypothesis/strategies/_internal/core.py:450
↓ 3 callers
Function
gc_collect
()
hypothesis/tests/cover/test_random_module.py:34
↓ 3 callers
Function
get_recorded
(name, actual="")
hypothesis/tests/ghostwriter/test_expected_output.py:56
↓ 3 callers
Function
get_reports
(file_contents, *, testdir)
hypothesis/tests/nocover/test_scrutineer.py:64
↓ 3 callers
Function
has_a_non_zero_byte
(x)
hypothesis/tests/nocover/test_database_usage.py:31
↓ 3 callers
Function
has_release
()
tooling/src/hypothesistooling/release.py:65
↓ 3 callers
Method
index_above
(self, value: int)
hypothesis/src/hypothesis/internal/intervalsets.py:112
↓ 3 callers
Method
index_from_char_in_shrink_order
Inverse of char_in_shrink_order.
hypothesis/src/hypothesis/internal/intervalsets.py:292
↓ 3 callers
Method
initial_coarse_reduction
Performs some preliminary reductions that should not be repeated as part of the main shrink passes. The main reason why these can't b
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:714
↓ 3 callers
Function
is_annotated_type
(thing: object)
hypothesis/src/hypothesis/strategies/_internal/types.py:428
↓ 3 callers
Function
is_hashable
(value: object)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:571
↓ 3 callers
Function
is_in_ci
()
hypothesis/src/hypothesis/_settings.py:409
↓ 3 callers
Function
key
Prefer known-FTZ modules, then top-level packages, then alphabetical.
hypothesis/src/_hypothesis_ftz_detector.py:107
↓ 3 callers
Function
lex_to_float
(i: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:176
↓ 3 callers
Method
mark_changed
(self, i)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1126
↓ 3 callers
Function
nodes_to_json
(nodes: tuple[ChoiceNode, ...])
hypothesis/src/hypothesis/internal/observability.py:160
↓ 3 callers
Function
non_covering_examples
(database)
hypothesis/tests/common/utils.py:156
↓ 3 callers
Function
numeric_bounds_from_validators
( field, min_value=float("-inf"), max_value=float("inf") )
hypothesis/src/hypothesis/extra/django/_fields.py:42
↓ 3 callers
Method
pareto_optimise
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1546
↓ 3 callers
Function
parse_release
(contents)
whole_repo_tests/whole_repo/test_release_management.py:16
← previous
next →
401–500 of 6,441, ranked by callers