Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,299 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,299
◇
Types & classes
723
↳
Endpoints
134
↓ 2 callers
Method
has_existing_examples
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1006
↓ 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
in_bounds
(self, value)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:311
↓ 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:387
↓ 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:1638
↓ 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, example: ConjectureData | ConjectureResult, predicate: ShrinkPredicateT | None
hypothesis/src/hypothesis/internal/conjecture/engine.py:1691
↓ 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
normalize_zero
(f: float)
hypothesis/src/hypothesis/strategies/_internal/random.py:169
↓ 2 callers
Method
note
(self, value: str)
hypothesis/src/hypothesis/internal/conjecture/data.py:1167
↓ 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:639
↓ 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:630
↓ 2 callers
Function
output
(s)
hypothesis/src/hypothesis/stateful.py:134
↓ 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:79
↓ 2 callers
Method
per_test_case_context_manager
Returns a context manager which will be entered each time Hypothesis starts generating and executing one |test case|, and exited when
hypothesis/src/hypothesis/internal/conjecture/providers.py:582
↓ 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:98
↓ 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:740
↓ 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:1000
↓ 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:187
↓ 2 callers
Function
register_field_strategy
Add an entry to the global field-to-strategy lookup used by :func:`~hypothesis.extra.django.from_field`. ``field_type`` must be a subtype of
hypothesis/src/hypothesis/extra/django/_fields.py:333
↓ 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:295
↓ 2 callers
Function
reproduction_decorator
(choices: Iterable[ChoiceT])
hypothesis/src/hypothesis/core.py:418
↓ 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_test
Test that the given ``Provider`` class conforms to the |PrimitiveProvider| interface. For instance, this tests that ``Provider`` does no
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:338
↓ 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:795
↓ 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:187
↓ 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:378
↓ 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:2271
↓ 2 callers
Method
should_generate_more
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1117
↓ 2 callers
Function
should_trace_file
(fname: str)
hypothesis/src/hypothesis/internal/scrutineer.py:39
↓ 2 callers
Method
shrink
( self, example: ConjectureData | ConjectureResult, predicate: ShrinkPredicateT | None
hypothesis/src/hypothesis/internal/conjecture/engine.py:1679
↓ 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
start_span
(self, label: int)
hypothesis/src/hypothesis/internal/conjecture/data.py:1247
↓ 2 callers
Method
stop_span
(self, *, discard: bool = False)
hypothesis/src/hypothesis/internal/conjecture/data.py:1262
↓ 2 callers
Function
stoptest_and_hypothesisexception
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:140
↓ 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
t
(f)
hypothesis/tests/cover/test_functions.py:104
↓ 2 callers
Function
tag_name
()
tooling/src/hypothesistooling/release.py:359
↓ 2 callers
Function
task
(pred)
hypothesis/tests/nocover/test_exceptiongroup.py:33
↓ 2 callers
Function
test
(v)
hypothesis/src/hypothesis/core.py:2461
↓ 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
(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:164
↓ 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:790
↓ 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:280
↓ 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:129
↓ 2 callers
Function
u
(e)
website/theme/static/prism.js:3
↓ 2 callers
Function
update_changelog_and_version
()
tooling/src/hypothesistooling/release.py:164
↓ 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:134
↓ 2 callers
Function
valid_key
(key)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:821
↓ 2 callers
Function
validate_time_slice
(max_period, min_period)
hypothesis/src/hypothesis/extra/numpy.py:908
↓ 2 callers
Function
warn
(msg)
tooling/src/hypothesistooling/__main__.py:264
↓ 2 callers
Function
warn_on_missing_dtypes
(xp: Any, stubs: list[str])
hypothesis/src/hypothesis/extra/array_api.py:104
↓ 2 callers
Function
with_collect_coverage
(*, value: bool)
hypothesis/tests/cover/test_observability.py:620
↓ 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
← previous
next →
701–800 of 6,299, ranked by callers