Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,164 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,164
◇
Types & classes
721
↳
Endpoints
128
↓ 1 callers
Method
save
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1209
↓ 1 callers
Method
save
(self, k, v)
hypothesis/tests/cover/test_database_backend.py:461
↓ 1 callers
Function
save_patch
(patch: str, *, slug: str = "")
hypothesis/src/hypothesis/extra/_patching.py:335
↓ 1 callers
Function
score
(enabled)
hypothesis/tests/nocover/test_targeting.py:66
↓ 1 callers
Function
seed
Seed the randomness for this test. ``seed`` may be any hashable object. No exact meaning for ``seed`` is provided other than that for a
hypothesis/src/hypothesis/core.py:338
↓ 1 callers
Function
series
Provides a strategy for producing a :class:`pandas.Series`. Arguments: * elements: a strategy that will be used to generate the individual
hypothesis/src/hypothesis/extra/pandas/impl.py:257
↓ 1 callers
Method
set_element
(self, val, result, idx, *, fill=False)
hypothesis/src/hypothesis/extra/numpy.py:276
↓ 1 callers
Method
setstate
(self, state)
hypothesis/src/hypothesis/strategies/_internal/random.py:349
↓ 1 callers
Method
setstate
(self, state)
hypothesis/src/hypothesis/strategies/_internal/random.py:425
↓ 1 callers
Function
setup
(app)
hypothesis/docs/conf.py:110
↓ 1 callers
Method
setup
Runs initial setup code. Convenience function for children that doesn't require messing with the signature of init.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:52
↓ 1 callers
Method
setup
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:47
↓ 1 callers
Method
shift_right
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:48
↓ 1 callers
Method
short_circuit
Possibly attempt to do some shrinking. If this returns True, the ``run`` method will terminate early without doing any more work.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:164
↓ 1 callers
Method
shrink_by_multiples
(self, k)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:67
↓ 1 callers
Function
sig_of
(name)
hypothesis/src/hypothesis/strategies/_internal/random.py:113
↓ 1 callers
Function
simplest_failure
(x)
hypothesis/tests/cover/test_traceback_elision.py:25
↓ 1 callers
Method
size
(self, tree)
hypothesis/tests/nocover/test_stateful.py:71
↓ 1 callers
Function
slow_once
(i)
hypothesis/tests/cover/test_deadline.py:119
↓ 1 callers
Function
slow_shrinker
()
hypothesis/tests/conjecture/test_engine.py:108
↓ 1 callers
Method
sort_regions
Guarantees that for each i we have tried to swap index i with index i + 1. This uses an adaptive algorithm that works by sorting cont
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:44
↓ 1 callers
Method
sort_regions_with_gaps
Guarantees that for each i we have tried to swap index i with index i + 2. This uses an adaptive algorithm that works by sorting cont
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:64
↓ 1 callers
Method
span_end
Marks the end of a semantically meaningful span of choices. ``discard`` is ``True`` when the draw was filtered out or otherwise marked
hypothesis/src/hypothesis/internal/conjecture/providers.py:745
↓ 1 callers
Method
span_start
Marks the beginning of a semantically meaningful span of choices. Spans are a depth-first tree structure. A span is opened by a call to
hypothesis/src/hypothesis/internal/conjecture/providers.py:687
↓ 1 callers
Method
split_at
Splits the tree so that it can incorporate a decision at the draw call corresponding to the node at position i. Raises Flaky
hypothesis/src/hypothesis/internal/conjecture/datatree.py:438
↓ 1 callers
Method
st_classmethod_then_composite
(draw, cls)
hypothesis/tests/cover/test_composite.py:150
↓ 1 callers
Method
st_composite_method
(draw, self)
hypothesis/tests/cover/test_composite.py:169
↓ 1 callers
Method
st_composite_then_classmethod
(draw, cls)
hypothesis/tests/cover/test_composite.py:155
↓ 1 callers
Method
st_composite_then_staticmethod
(draw)
hypothesis/tests/cover/test_composite.py:165
↓ 1 callers
Method
st_staticmethod_then_composite
(draw)
hypothesis/tests/cover/test_composite.py:160
↓ 1 callers
Function
standard_tox_task
(name, py=ci_version)
tooling/src/hypothesistooling/__main__.py:771
↓ 1 callers
Method
start_span
Called at the start of each span, with ``i`` the index of the span and ``label_index`` the index of its label in ``self.spans.labels``
hypothesis/src/hypothesis/internal/conjecture/data.py:286
↓ 1 callers
Method
start_span
(self, i: int, label_index: int)
hypothesis/src/hypothesis/internal/conjecture/data.py:395
↓ 1 callers
Function
state_for_seed
(data, seed)
hypothesis/src/hypothesis/strategies/_internal/random.py:155
↓ 1 callers
Method
step
(self, shrink_pass: ShrinkPass, *, random_order: bool = False)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:813
↓ 1 callers
Method
stop_span
Called at the end of each span, with ``i`` the index of the span and ``discarded`` being ``True`` if ``stop_span`` was called with ``d
hypothesis/src/hypothesis/internal/conjecture/data.py:291
↓ 1 callers
Method
stop_span
(self, *, discard: bool)
hypothesis/src/hypothesis/internal/conjecture/data.py:341
↓ 1 callers
Function
strat_one
(draw)
hypothesis/tests/cover/test_regressions.py:38
↓ 1 callers
Function
strat_two
(draw)
hypothesis/tests/cover/test_regressions.py:43
↓ 1 callers
Function
strip_trailing_whitespace
Patches have whitespace-only lines; strip that out.
hypothesis/tests/patching/test_patching.py:63
↓ 1 callers
Function
stuff
(*args)
hypothesis/tests/cover/test_composite.py:95
↓ 1 callers
Method
swap
Swap the elements ls[i], ls[j].
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:227
↓ 1 callers
Function
t
()
hypothesis/tests/conjecture/test_shrinker.py:427
↓ 1 callers
Function
t
(s)
hypothesis/tests/cover/test_explicit_examples.py:335
↓ 1 callers
Function
tags
()
tooling/src/hypothesistooling/git.py:17
↓ 1 callers
Function
task
(if_changed=())
tooling/src/hypothesistooling/__main__.py:63
↓ 1 callers
Function
task1
(d: DataObject)
hypothesis/tests/nocover/test_exceptiongroup.py:156
↓ 1 callers
Function
task2
(d: DataObject)
hypothesis/tests/nocover/test_exceptiongroup.py:159
↓ 1 callers
Function
task_invalid_argument
(d: DataObject)
hypothesis/tests/nocover/test_exceptiongroup.py:117
↓ 1 callers
Function
task_stoptest
(d: DataObject)
hypothesis/tests/nocover/test_exceptiongroup.py:112
↓ 1 callers
Function
tasks
Print a list of all task names supported by the build system.
tooling/src/hypothesistooling/__main__.py:911
↓ 1 callers
Method
teardown
Called after a run has finished executing to clean up any necessary state. Does nothing by default.
hypothesis/src/hypothesis/stateful.py:488
↓ 1 callers
Method
teardown
(self)
hypothesis/tests/nocover/test_strategy_state.py:49
↓ 1 callers
Function
temp_register_profile
(name, parent, **kwargs)
hypothesis/tests/cover/test_settings.py:54
↓ 1 callers
Function
test
(n)
hypothesis/tests/crosshair/test_crosshair.py:215
↓ 1 callers
Function
test
(value)
hypothesis/tests/conjecture/test_provider.py:200
↓ 1 callers
Function
test
(i)
hypothesis/tests/nocover/test_database_usage.py:154
↓ 1 callers
Function
test
(x)
hypothesis/tests/nocover/test_integer_ranges.py:24
↓ 1 callers
Function
test
(x)
hypothesis/tests/nocover/test_deferred_errors.py:37
↓ 1 callers
Function
test
(ls)
hypothesis/tests/nocover/test_targeting.py:75
↓ 1 callers
Function
test
(rnd, i)
hypothesis/tests/nocover/test_limits.py:22
↓ 1 callers
Function
test
(x)
hypothesis/tests/nocover/test_modify_inner_test.py:99
↓ 1 callers
Function
test
(x)
hypothesis/tests/array_api/test_arrays.py:259
↓ 1 callers
Function
test
(i)
hypothesis/tests/cover/test_debug_information.py:26
↓ 1 callers
Function
test
(s)
hypothesis/tests/cover/test_fuzz_one_input.py:39
↓ 1 callers
Function
test
(s)
hypothesis/tests/cover/test_regex.py:510
↓ 1 callers
Function
test
(d)
hypothesis/tests/cover/test_error_in_draw.py:22
↓ 1 callers
Function
test
(f)
hypothesis/tests/cover/test_float_nastiness.py:126
↓ 1 callers
Function
test
(e)
hypothesis/tests/cover/test_deferred_strategies.py:101
↓ 1 callers
Function
test
(x, y)
hypothesis/tests/cover/test_falsifying_example_output.py:27
↓ 1 callers
Function
test
(v)
hypothesis/tests/cover/test_regressions.py:60
↓ 1 callers
Method
test
(self, i)
hypothesis/tests/nocover/test_cacheable.py:64
↓ 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:526
↓ 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:159
↓ 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:457
↓ 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
← previous
next →
1,301–1,400 of 6,164, ranked by callers