Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,853 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,853
◇
Types & classes
772
↳
Endpoints
145
↓ 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
Function
many_span_discards
(data)
hypothesis/tests/conjecture/test_utils.py:177
↓ 2 callers
Method
minimize_nodes
(self, nodes)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1704
↓ 2 callers
Function
nameless_const
(x)
hypothesis/tests/cover/test_searchstrategy.py:77
↓ 2 callers
Function
new_score
(key)
hypothesis/tests/cover/test_cache_implementation.py:137
↓ 2 callers
Method
new_shrinker
( self, initial: ConjectureData | ConjectureResult, predicate: ShrinkPredicateT | None
hypothesis/src/hypothesis/internal/conjecture/engine.py:1780
↓ 2 callers
Function
next_down_normal
(value: f64, width: u32, allow_subnormal: bool)
hypothesis/rust/src/internal/floats.rs:212
↓ 2 callers
Function
next_up_n
(f, n)
hypothesis/tests/conjecture/test_data_tree.py:501
↓ 2 callers
Function
nodes
(draw, *, was_forced=None, choice_types=None)
hypothesis/tests/conjecture/common.py:171
↓ 2 callers
Function
normalize_zero
(f: float)
hypothesis/src/hypothesis/strategies/_internal/random.py:178
↓ 2 callers
Method
note
(self, value: str)
hypothesis/src/hypothesis/internal/conjecture/data.py:1288
↓ 2 callers
Method
observe_information_messages
Called at the end of each |test case| and again at end of the test function. Return an iterable of ``{type: info/alert/error, title: str, con
hypothesis/src/hypothesis/internal/conjecture/providers.py:643
↓ 2 callers
Method
observe_test_case
Called at the end of the |test case| when :ref:`observability <observability>` is enabled. The return value should be a non-symbolic
hypothesis/src/hypothesis/internal/conjecture/providers.py:634
↓ 2 callers
Function
output
(s)
hypothesis/src/hypothesis/stateful.py:167
↓ 2 callers
Function
parse_release_file
()
tooling/src/hypothesistooling/release.py:73
↓ 2 callers
Function
parse_release_file_contents
(release_contents, filename)
tooling/src/hypothesistooling/release.py:91
↓ 2 callers
Method
per_test_case_context_manager
(self)
hypothesis/tests/conjecture/test_provider.py:972
↓ 2 callers
Function
point_of_divergence
()
tooling/src/hypothesistooling/git.py:49
↓ 2 callers
Method
populate_bundle
(self)
hypothesis/tests/cover/test_stateful.py:293
↓ 2 callers
Function
pred
(s)
hypothesis/tests/cover/test_regex.py:107
↓ 2 callers
Function
print_command
(command, args)
tooling/src/hypothesistooling/scripts.py:20
↓ 2 callers
Function
process_arguments_to_given
( wrapped_test: Any, arguments: Sequence[object], kwargs: dict[str, object], given_kwargs: dic
hypothesis/src/hypothesis/core.py:743
↓ 2 callers
Function
randoms
Generates instances of ``random.Random``. The generated Random instances are of a special HypothesisRandom subclass. - If ``note_method_calls
hypothesis/src/hypothesis/strategies/_internal/core.py:1003
↓ 2 callers
Function
range_indexes
Provides a strategy which generates an :class:`~pandas.Index` whose values are 0, 1, ..., n for some n. Arguments: * min_size is the sma
hypothesis/src/hypothesis/extra/pandas/impl.py:275
↓ 2 callers
Method
realize
(self, value)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:998
↓ 2 callers
Function
release_date_string
Returns a date string that represents what should be considered "today" for the purposes of releasing, and ensure that we don't change part way
tooling/src/hypothesistooling/release.py:51
↓ 2 callers
Method
remove_listener
Removes ``f`` from the list of change listeners. If ``f`` is not in the list of change listeners, silently do nothing.
hypothesis/src/hypothesis/database.py:293
↓ 2 callers
Function
reproduction_decorator
(choices: Iterable[ChoiceT])
hypothesis/src/hypothesis/core.py:421
↓ 2 callers
Function
restore_recursion_limit
()
hypothesis/tests/common/utils.py:306
↓ 2 callers
Function
run
()
hypothesis/tests/common/setup.py:26
↓ 2 callers
Method
run
Run for an appropriate number of steps to improve the current value. If self.full is True, will run until no further improvements can
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:93
↓ 2 callers
Function
run_conformance
(provider, **kwargs)
hypothesis/tests/nocover/test_provider_conformance.py:43
↓ 2 callers
Function
run_language_test_for
(root, data, seed)
hypothesis/tests/nocover/test_explore_arbitrary_languages.py:70
↓ 2 callers
Function
rust_msrv
()
tooling/src/hypothesistooling/cargo.py:33
↓ 2 callers
Function
s
(draw)
hypothesis/tests/conjecture/test_engine.py:474
↓ 2 callers
Method
save
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:791
↓ 2 callers
Method
score_function
(self, data: ConjectureResult)
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:55
↓ 2 callers
Function
seed_all
()
hypothesis/src/hypothesis/internal/entropy.py:195
↓ 2 callers
Function
separated_sum
(draw)
hypothesis/tests/quality/test_shrink_quality.py:369
↓ 2 callers
Method
setup_state
(cls)
hypothesis/src/hypothesis/stateful.py:425
↓ 2 callers
Function
shared
Returns a strategy that draws a single shared value per run, drawn from base. Any two shared instances with the same key will share the same value
hypothesis/src/hypothesis/strategies/_internal/core.py:2320
↓ 2 callers
Method
should_generate_more
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1148
↓ 2 callers
Function
should_trace_file
(fname: str)
hypothesis/src/hypothesis/internal/scrutineer.py:36
↓ 2 callers
Method
shrink
( self, initial: ConjectureData | ConjectureResult, predicate: ShrinkPredicateT | None
hypothesis/src/hypothesis/internal/conjecture/engine.py:1768
↓ 2 callers
Method
shrink
Shrink the value ``initial`` subject to the constraint that it satisfies ``predicate``. Returns the shrunk value.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:83
↓ 2 callers
Function
shrinks
(strategy, nodes, *, allow_sloppy=True, seed=0)
hypothesis/tests/nocover/test_precise_shrinking.py:242
↓ 2 callers
Function
slow
(i)
hypothesis/tests/cover/test_deadline.py:31
↓ 2 callers
Function
slow_test
(n)
hypothesis/tests/nocover/test_threading.py:187
↓ 2 callers
Method
span_end
(self, discard)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:980
↓ 2 callers
Method
start_span
(self, label: int)
hypothesis/src/hypothesis/internal/conjecture/data.py:1424
↓ 2 callers
Method
stop_span
(self, *, discard: bool = False)
hypothesis/src/hypothesis/internal/conjecture/data.py:1439
↓ 2 callers
Function
stoptest_and_hypothesisexception
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:139
↓ 2 callers
Function
strat
(draw, x=0, /)
hypothesis/tests/cover/test_posonly_args_py38.py:17
↓ 2 callers
Function
suite_properties_ok
(junit_xml)
hypothesis/tests/pytest/test_junit.py:45
↓ 2 callers
Function
tag_name
()
tooling/src/hypothesistooling/release.py:371
↓ 2 callers
Function
task
(pred)
hypothesis/tests/nocover/test_exceptiongroup.py:26
↓ 2 callers
Function
test
(v)
hypothesis/src/hypothesis/core.py:2500
↓ 2 callers
Function
test
(data)
hypothesis/tests/conjecture/test_engine.py:329
↓ 2 callers
Function
test
(constraints)
hypothesis/tests/conjecture/test_data_tree.py:427
↓ 2 callers
Function
test
(b)
hypothesis/tests/nocover/test_duplication.py:37
↓ 2 callers
Function
test
(ls)
hypothesis/tests/quality/test_targeting_quality.py:39
↓ 2 callers
Function
test
(x)
hypothesis/tests/common/arguments.py:38
↓ 2 callers
Function
test
(r)
hypothesis/tests/cover/test_random_module.py:47
↓ 2 callers
Function
test
(x)
hypothesis/tests/cover/test_control.py:163
↓ 2 callers
Function
test
(f)
hypothesis/tests/cover/test_functions.py:244
↓ 2 callers
Function
test
(v)
hypothesis/tests/cover/test_find.py:25
↓ 2 callers
Function
test
(i)
hypothesis/tests/cover/test_testdecorators.py:467
↓ 2 callers
Function
test
(data)
hypothesis/tests/cover/test_deadline.py:144
↓ 2 callers
Function
test
(nxt)
hypothesis/tests/cover/test_lookup.py:781
↓ 2 callers
Function
test
(v)
hypothesis/tests/cover/test_regressions.py:61
↓ 2 callers
Function
test_do_nothing
(x)
hypothesis/tests/nocover/test_baseexception.py:44
↓ 2 callers
Function
test_foo
(x)
hypothesis/tests/cover/test_verbosity.py:59
↓ 2 callers
Function
test_usage
(i)
hypothesis/tests/cover/test_phases.py:72
↓ 2 callers
Function
test_works
(x)
hypothesis/tests/cover/test_verbosity.py:33
↓ 2 callers
Method
tick
(self)
hypothesis/src/hypothesis/internal/cache.py:320
↓ 2 callers
Method
tick
(self)
hypothesis/tests/cover/test_cache_implementation.py:45
↓ 2 callers
Method
timing_report
Return a terminal report describing what was slow.
hypothesis/src/hypothesis/internal/conjecture/engine.py:130
↓ 2 callers
Method
track_arg_span
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:1401
↓ 2 callers
Function
u
(e)
website/theme/static/prism.js:3
↓ 2 callers
Function
update_changelog_and_version
()
tooling/src/hypothesistooling/release.py:176
↓ 2 callers
Function
update_mantissa
(unbiased_exponent: int, mantissa: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:165
↓ 2 callers
Function
using_sqlite
()
hypothesis/src/hypothesis/extra/django/_fields.py:136
↓ 2 callers
Function
validate_time_slice
(max_period, min_period)
hypothesis/src/hypothesis/extra/numpy.py:906
↓ 2 callers
Function
warn
(msg)
tooling/src/hypothesistooling/__main__.py:275
↓ 2 callers
Function
warn_on_missing_dtypes
(xp: Any, stubs: list[str])
hypothesis/src/hypothesis/extra/array_api.py:105
↓ 2 callers
Function
with_collect_coverage
(*, value: bool)
hypothesis/tests/cover/test_observability.py:794
↓ 2 callers
Function
xfail_on_indistinct_nans
xp.unique_value() should return distinct NaNs - if not, tests that (rightly) assume such behaviour will likely fail. For example, NumPy 1.22
hypothesis/tests/array_api/test_arrays.py:39
↓ 2 callers
Function
zigzag_index
(value: int, *, shrink_towards: int)
hypothesis/src/hypothesis/internal/conjecture/choice.py:308
↓ 1 callers
Function
S
(n)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:188
↓ 1 callers
Function
__calc_script_variables
()
tooling/src/hypothesistooling/scripts.py:47
↓ 1 callers
Method
__call_node_to_example_dec
( self, node: cst.Call, via: str )
hypothesis/src/hypothesis/extra/_patching.py:111
↓ 1 callers
Method
__convert_result
(self, method, kwargs, result)
hypothesis/src/hypothesis/strategies/_internal/random.py:204
↓ 1 callers
Method
__copy__
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:458
↓ 1 callers
Method
__eq__
(self, other)
hypothesis/tests/cover/test_pretty.py:534
↓ 1 callers
Method
__get__
( self, obj: "RuleBasedStateMachine | None", typ: type["RuleBasedStateMachine"] | None
hypothesis/src/hypothesis/stateful.py:113
↓ 1 callers
Method
__init__
( self, parent: Optional["settings"] = None, *, # This looks pretty strange, b
hypothesis/src/hypothesis/_settings.py:662
↓ 1 callers
Method
__init__
(self, strategy: SearchStrategy[T])
hypothesis/src/hypothesis/strategies/_internal/recursive.py:41
↓ 1 callers
Method
__init__
( self, data: ConjectureData | None = None, enabled: Sequence[Any] = (), disab
hypothesis/src/hypothesis/strategies/_internal/featureflags.py:38
↓ 1 callers
Method
__init__
( self, *, min_value: float, max_value: float, allow_nan: bool,
hypothesis/src/hypothesis/strategies/_internal/numbers.py:160
← previous
next →
801–900 of 6,853, ranked by callers