Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,708 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,708
◇
Types & classes
747
↳
Endpoints
140
↓ 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
Method
to_json
(self)
hypothesis/src/hypothesis/internal/observability.py:189
↓ 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:326
↓ 1 callers
Function
transpose
(m)
hypothesis/tests/cover/test_composite.py:119
↓ 1 callers
Function
tree
(data)
hypothesis/tests/conjecture/test_shrinker.py:130
↓ 1 callers
Function
trivial
(u, v)
hypothesis/tests/conjecture/test_test_data.py:137
↓ 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:801
↓ 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:1175
↓ 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
Function
tz_default_elements
Default element strategy for a :class:`~pandas.DatetimeTZDtype`: naive ``datetime64[unit]`` values, interpreted as UTC instants. With a const
hypothesis/src/hypothesis/extra/pandas/impl.py:100
↓ 1 callers
Method
tzname
(self, value)
hypothesis/tests/cover/test_datetimes.py:406
↓ 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:76
↓ 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:498
↓ 1 callers
Function
update_gha_pins
Pin each github action to the commit sha of its latest release. Based on https://github.com/davidism/gha-update.
tooling/src/hypothesistooling/__main__.py:617
↓ 1 callers
Function
update_group
(draw, group_name, strategy)
hypothesis/src/hypothesis/strategies/_internal/regex.py:86
↓ 1 callers
Function
update_pyodide_versions
()
tooling/src/hypothesistooling/__main__.py:539
↓ 1 callers
Function
update_pyproject_toml
()
tooling/src/hypothesistooling/release.py:236
↓ 1 callers
Function
update_python_versions
()
tooling/src/hypothesistooling/__main__.py:416
↓ 1 callers
Method
update_shrink_target
(self, new_target)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1159
↓ 1 callers
Function
update_stack
()
tooling/src/hypothesistooling/installers.py:107
↓ 1 callers
Function
update_vendored_files
()
tooling/src/hypothesistooling/__main__.py:680
↓ 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:23
↓ 1 callers
Function
valid_key
(key)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:1176
↓ 1 callers
Method
validate
(self)
hypothesis/docs/_ext/hypothesis_redirects.py:168
↓ 1 callers
Method
values_agree
(self, k)
hypothesis/tests/cover/test_database_backend.py:469
↓ 1 callers
Function
version_tuple
(v: str)
tooling/src/hypothesistooling/__main__.py:541
↓ 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:309
↓ 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:313
↓ 1 callers
Function
wrapped
(*args, **kwargs)
hypothesis/tests/cover/test_reflection.py:479
↓ 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:315
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:515
Method
__bool__
(self)
hypothesis/src/hypothesis/internal/observability.py:359
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:1049
Method
__call__
(self, strategy: SearchStrategy[Ex], label: object = None)
hypothesis/src/hypothesis/strategies/_internal/core.py:2078
Method
__call__
(self, result=None)
hypothesis/src/hypothesis/extra/django/_impl.py:36
Method
__call__
(self)
hypothesis/tests/conjecture/test_utils.py:244
Method
__call__
(self, x: int)
hypothesis/tests/ghostwriter/test_ghostwriter.py:736
Method
__call__
(self, x)
hypothesis/tests/cover/test_reflection.py:816
Method
__call__
(self, bar)
hypothesis/tests/cover/test_filter_rewriting.py:293
Method
__changed_nodes
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1134
Method
__class__
(self)
hypothesis/tests/cover/test_pretty.py:291
Method
__contains__
(self, constant: ConstantT)
hypothesis/src/hypothesis/internal/constants_ast.py:67
Method
__contains__
(self, key: K)
hypothesis/src/hypothesis/internal/cache.py:114
Method
__contains__
(self, key: K)
hypothesis/src/hypothesis/internal/cache.py:384
Method
__contains__
(self, elem: str | int)
hypothesis/src/hypothesis/internal/intervalsets.py:93
Method
__contains__
(self, data: object)
hypothesis/src/hypothesis/internal/conjecture/pareto.py:262
Method
__contains__
(self, value: object)
hypothesis/tests/cover/test_lookup.py:1026
Method
__copy__
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:187
Method
__deepcopy__
(self, table)
hypothesis/src/hypothesis/strategies/_internal/random.py:34
Method
__delete__
(self, obj)
hypothesis/src/hypothesis/stateful.py:98
Method
__delitem__
(self, i: int | slice)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:143
Method
__enter__
(self)
hypothesis/src/hypothesis/control.py:211
Method
__enter__
(self)
hypothesis/src/hypothesis/internal/scrutineer.py:110
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/database.py:384
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/database.py:463
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/database.py:728
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/database.py:782
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/database.py:936
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/database.py:1190
Method
__eq__
(self, other: Any)
hypothesis/src/hypothesis/_settings.py:130
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/extra/redis.py:60
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/internal/constants_ast.py:89
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/internal/intervalsets.py:129
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/internal/conjecture/choice.py:172
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:152
Method
__eq__
(self, other: object)
hypothesis/src/hypothesis/internal/conjecture/data.py:206
Method
__eq__
(self, other)
hypothesis/tests/numpy/test_gen_data.py:1329
Method
__eq__
(self, other)
hypothesis/tests/cover/test_statistical_events.py:75
Method
__eq__
(self, other)
hypothesis/tests/cover/test_lookup.py:743
Method
__exit__
( self, exc_type: type[BaseException] | None, exc_value: BaseException | None,
hypothesis/src/hypothesis/control.py:216
Method
__exit__
(self, *args, **kwargs)
hypothesis/src/hypothesis/internal/scrutineer.py:135
Function
__getattr__
(name: str)
hypothesis/src/hypothesis/errors.py:279
Function
__getattr__
(name: str)
hypothesis/src/hypothesis/internal/conjecture/data.py:92
Method
__getattr__
(self, name: str)
hypothesis/src/hypothesis/utils/threading.py:35
← previous
next →
1,501–1,600 of 6,708, ranked by callers