Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,291 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,291
◇
Types & classes
723
↳
Endpoints
134
↓ 1 callers
Method
test
(self, _)
hypothesis/tests/cover/test_health_checks.py:155
↓ 1 callers
Function
test1
(x)
hypothesis/tests/cover/test_health_checks.py:80
↓ 1 callers
Function
test2
(x)
hypothesis/tests/cover/test_health_checks.py:90
↓ 1 callers
Function
test_always_fails
(data)
hypothesis/tests/cover/test_reproduce_failure.py:223
↓ 1 callers
Function
test_assume_x
(x)
hypothesis/tests/cover/test_given_error_conditions.py:29
↓ 1 callers
Function
test_blah
(x, rnd)
hypothesis/tests/nocover/test_randomization.py:62
↓ 1 callers
Method
test_blah
(self)
hypothesis/tests/cover/test_stateful.py:532
↓ 1 callers
Method
test_boom
(self, x)
hypothesis/tests/cover/test_executors.py:65
↓ 1 callers
Method
test_does_not_break_other_things
(self, unused)
hypothesis/tests/django/toystore/test_basic_configuration.py:64
↓ 1 callers
Function
test_fails_with_note
(data)
hypothesis/tests/cover/test_observability.py:161
↓ 1 callers
Function
test_false_is_false
(params)
hypothesis/tests/cover/test_regressions.py:102
↓ 1 callers
Function
test_flaky_slow
(i)
hypothesis/tests/cover/test_deadline.py:64
↓ 1 callers
Function
test_fn
(x, y)
hypothesis/tests/nocover/test_interesting_origin.py:57
↓ 1 callers
Function
test_foo_spec
(bar, inp)
hypothesis/tests/cover/test_regressions.py:80
↓ 1 callers
Function
test_func
(n)
hypothesis/tests/nocover/test_skipping.py:54
↓ 1 callers
Function
test_function
(data)
hypothesis/tests/conjecture/test_engine.py:1061
↓ 1 callers
Method
test_hi
(self, x)
hypothesis/tests/cover/test_explicit_examples.py:59
↓ 1 callers
Function
test_in_range
(r)
hypothesis/tests/nocover/test_simple_numbers.py:174
↓ 1 callers
Function
test_inner
(x)
hypothesis/tests/cover/test_reproduce_failure.py:79
↓ 1 callers
Function
test_int
(x)
hypothesis/tests/cover/test_reporting.py:26
↓ 1 callers
Function
test_is_an_int
(x)
hypothesis/tests/cover/test_testdecorators.py:240
↓ 1 callers
Function
test_is_bounded
(t, x)
hypothesis/tests/cover/test_testdecorators.py:271
↓ 1 callers
Function
test_is_cool
(i)
hypothesis/tests/cover/test_testdecorators.py:456
↓ 1 callers
Function
test_is_filtered
(x)
hypothesis/tests/nocover/test_filtering.py:23
↓ 1 callers
Function
test_is_t
(x)
hypothesis/tests/numpy/test_from_dtype.py:71
↓ 1 callers
Method
test_method_with_bad_strategy
(self, x)
hypothesis/tests/cover/test_core.py:115
↓ 1 callers
Function
test_nest
(y)
hypothesis/tests/nocover/test_randomization.py:67
↓ 1 callers
Function
test_never_runs
(x)
hypothesis/tests/cover/test_given_error_conditions.py:37
↓ 1 callers
Method
test_no_boom
(self, x)
hypothesis/tests/cover/test_executors.py:61
↓ 1 callers
Method
test_no_boom_on_example
(self, x)
hypothesis/tests/cover/test_executors.py:57
↓ 1 callers
Function
test_nonzero
(x)
hypothesis/tests/cover/test_unicode_identifiers.py:48
↓ 1 callers
Method
test_normal_test_1
(self)
hypothesis/tests/django/toystore/test_basic_configuration.py:67
↓ 1 callers
Function
test_not_infinite
(xs)
hypothesis/tests/cover/test_direct_strategies.py:502
↓ 1 callers
Function
test_not_nan
(xs)
hypothesis/tests/cover/test_direct_strategies.py:514
↓ 1 callers
Function
test_outer
(x)
hypothesis/tests/cover/test_reproduce_failure.py:74
↓ 1 callers
Function
test_positive
(x)
hypothesis/tests/cover/test_explicit_examples.py:145
↓ 1 callers
Function
test_raise
(x)
hypothesis/tests/nocover/test_baseexception.py:25
↓ 1 callers
Function
test_raise_baseexception
(x)
hypothesis/tests/nocover/test_baseexception.py:57
↓ 1 callers
Function
test_result_type
(s)
hypothesis/tests/cover/test_regex.py:357
↓ 1 callers
Function
test_single_exc_group
(data)
hypothesis/tests/nocover/test_exceptiongroup.py:78
↓ 1 callers
Function
test_targeting_square_loss
(d)
hypothesis/tests/nocover/test_targeting.py:97
↓ 1 callers
Function
test_with_targeting
(ls)
hypothesis/tests/nocover/test_targeting.py:47
↓ 1 callers
Function
test_z1
(z)
hypothesis/tests/nocover/test_given_reuse.py:33
↓ 1 callers
Function
test_z2
(z)
hypothesis/tests/nocover/test_given_reuse.py:37
↓ 1 callers
Function
this_has_a_totally_unique_name
(x)
hypothesis/tests/nocover/test_testdecorators.py:24
↓ 1 callers
Method
this_has_a_unique_name_and_lives_on_a_class
(self, x)
hypothesis/tests/nocover/test_testdecorators.py:35
↓ 1 callers
Function
timedelta64_dtypes
Return a strategy for timedelta64 dtypes, with various precisions from year to attosecond.
hypothesis/src/hypothesis/extra/numpy.py:948
↓ 1 callers
Function
timezone_keys
A strategy for :wikipedia:`IANA timezone names <List_of_tz_database_time_zones>`. As well as timezone names like ``"UTC"``, ``"Australia/Sydney"`
hypothesis/src/hypothesis/strategies/_internal/datetime.py:768
↓ 1 callers
Method
to_json
(self)
hypothesis/src/hypothesis/internal/observability.py:188
↓ 1 callers
Function
tractable_coverage_report
Report a simple coverage map which is (probably most) of the user's code.
hypothesis/src/hypothesis/internal/scrutineer.py:323
↓ 1 callers
Function
transpose
(m)
hypothesis/tests/cover/test_composite.py:119
↓ 1 callers
Function
tree
(data)
hypothesis/tests/conjecture/test_shrinker.py:123
↓ 1 callers
Function
trivial
(u, v)
hypothesis/tests/conjecture/test_test_data.py:125
↓ 1 callers
Method
try_lower_node_as_alternative
Attempt to lower `self.shrink_target.nodes[i]` to `v`, while rerandomising and attempting to repair any subsequent changes to the shap
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:797
↓ 1 callers
Method
try_shrinking_nodes
Attempts to replace each node in the nodes list with n. Returns True if it succeeded (which may include some additional modifications
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1171
↓ 1 callers
Method
tst
(self, i)
hypothesis/tests/django/toystore/test_basic_configuration.py:80
↓ 1 callers
Function
type_checker
(x)
hypothesis/tests/cover/test_validation.py:234
↓ 1 callers
Function
type_sorting_key
Minimise to None, then non-container types, then container types.
hypothesis/src/hypothesis/strategies/_internal/types.py:235
↓ 1 callers
Function
types_to_strategy
Find all the type metadata for this attribute, reconcile it, and infer a strategy from the mess.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:158
↓ 1 callers
Method
unchanged
(cls, predicate: Predicate)
hypothesis/src/hypothesis/internal/filtering.py:72
↓ 1 callers
Function
unicode_regex
(pattern)
hypothesis/tests/cover/test_regex.py:67
↓ 1 callers
Function
unicode_string_dtypes
Return a strategy for generating unicode string dtypes, of various lengths and byteorder. While Hypothesis' string strategies can generate em
hypothesis/src/hypothesis/extra/numpy.py:977
↓ 1 callers
Function
unsigned_integer_dtypes
( *, endianness: str = "?", sizes: Literal[8], )
hypothesis/src/hypothesis/extra/numpy.py:674
↓ 1 callers
Function
unwrap_markers_from_group
()
hypothesis/src/hypothesis/core.py:872
↓ 1 callers
Function
update_django_versions
()
tooling/src/hypothesistooling/__main__.py:489
↓ 1 callers
Function
update_group
(draw, group_name, strategy)
hypothesis/src/hypothesis/strategies/_internal/regex.py:76
↓ 1 callers
Function
update_pyodide_versions
()
tooling/src/hypothesistooling/__main__.py:530
↓ 1 callers
Function
update_pyproject_toml
()
tooling/src/hypothesistooling/release.py:236
↓ 1 callers
Function
update_python_versions
()
tooling/src/hypothesistooling/__main__.py:408
↓ 1 callers
Method
update_shrink_target
(self, new_target)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1155
↓ 1 callers
Function
update_stack
()
tooling/src/hypothesistooling/installers.py:107
↓ 1 callers
Function
update_vendored_files
()
tooling/src/hypothesistooling/__main__.py:607
↓ 1 callers
Function
upload_distribution_to_pypi
(*, expected_version)
tooling/src/hypothesistooling/release.py:284
↓ 1 callers
Function
urls
A strategy for :rfc:`3986`, generating http/https URLs. The generated URLs could, at least in theory, be passed to an HTTP client and fetched
hypothesis/src/hypothesis/provisional.py:185
↓ 1 callers
Function
user_error_and_frozen
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:46
↓ 1 callers
Function
user_error_and_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:63
↓ 1 callers
Function
using_tool_id
(tool_id, tool_name)
hypothesis/tests/cover/test_monitoring.py:22
↓ 1 callers
Method
values_agree
(self, k)
hypothesis/tests/cover/test_database_backend.py:468
↓ 1 callers
Function
version_tuple
(v: str)
tooling/src/hypothesistooling/__main__.py:532
↓ 1 callers
Method
via
Attach a machine-readable label noting what the origin of this example was. |example.via| is completely optional and does not change runtime
hypothesis/src/hypothesis/core.py:312
↓ 1 callers
Function
walk
After PyO3's declarative-module machinery has assembled the submodule tree, walk it and register every node in `sys.modules` under its dotted qualifie
hypothesis/rust/src/lib.rs:38
↓ 1 callers
Function
warns_or_raises
This runs the test twice: first to check that a warning is emitted and execution continues successfully despite the warning; then to check tha
hypothesis/tests/conftest.py:83
↓ 1 callers
Function
works_with_object_dtype
(df)
hypothesis/tests/pandas/test_data_frame.py:268
↓ 1 callers
Function
wrap_array
(func: callable, exclude: tuple[str, ...] = ())
hypothesis/tests/array_api/test_partial_adoptors.py:47
↓ 1 callers
Function
wrapped
(draw)
hypothesis/tests/conjecture/test_inquisitor.py:311
↓ 1 callers
Function
wrapped
(*args, **kwargs)
hypothesis/tests/cover/test_reflection.py:451
↓ 1 callers
Function
wrapped_condition
(x)
hypothesis/tests/common/debug.py:43
↓ 1 callers
Function
write_version
(cargo_toml_path: Path, new_version: str)
tooling/src/hypothesistooling/cargo.py:44
↓ 1 callers
Function
zigzag_value
(index: int, *, shrink_towards: int)
hypothesis/src/hypothesis/internal/conjecture/choice.py:297
Function
_
(data)
hypothesis/tests/conjecture/test_engine.py:447
Method
__and__
(self, other: "Self")
hypothesis/src/hypothesis/internal/intervalsets.py:126
Method
__bool__
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:489
Method
__bool__
(self)
hypothesis/src/hypothesis/internal/observability.py:357
Method
__buffer__
(self, flags)
hypothesis/tests/cover/test_lookup_py314.py:28
Method
__call__
(self, msg)
hypothesis/src/_hypothesis_pytestplugin.py:65
Method
__call__
(self, *args: Any, **kwargs: Any)
hypothesis/src/hypothesis/database.py:114
Method
__call__
(self, test: TestFunc)
hypothesis/src/hypothesis/core.py:246
Method
__call__
Make the settings object (self) an attribute of the test. The settings are later discovered by looking them up on the test itself.
hypothesis/src/hypothesis/_settings.py:1048
Method
__call__
(self, strategy: SearchStrategy[Ex], label: object = None)
hypothesis/src/hypothesis/strategies/_internal/core.py:2030
Method
__call__
(self, result=None)
hypothesis/src/hypothesis/extra/django/_impl.py:36
← previous
next →
1,401–1,500 of 6,291, ranked by callers