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
Function
is_pytz_timezone
(tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:30
↓ 1 callers
Function
is_simple
(f: float)
hypothesis/src/hypothesis/internal/conjecture/floats.py:212
↓ 1 callers
Function
is_sphinx
(f)
whole_repo_tests/whole_repo/test_rst_is_valid.py:20
↓ 1 callers
Function
is_square
(m)
hypothesis/tests/cover/test_composite.py:122
↓ 1 callers
Function
is_typing_literal
(thing: object)
hypothesis/src/hypothesis/strategies/_internal/types.py:399
↓ 1 callers
Function
just_draw_columns
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:601
↓ 1 callers
Method
kill_branch
Mark this part of the tree as not worth re-exploring.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1131
↓ 1 callers
Method
kill_branch
Mark this part of the tree as not worth re-exploring.
hypothesis/src/hypothesis/internal/conjecture/data.py:542
↓ 1 callers
Function
lambda_description
Returns a syntactically-valid expression describing `f`. This is often, but not always, the exact lambda definition string which appears in t
hypothesis/src/hypothesis/internal/lambda_sources.py:393
↓ 1 callers
Method
left_is_better
Returns True if the left is strictly simpler than the right according to the standards of this shrinker.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:172
↓ 1 callers
Method
left_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/collection.py:35
↓ 1 callers
Function
listener
(event)
hypothesis/tests/watchdog/test_database.py:70
↓ 1 callers
Function
lists_of_length
(n)
hypothesis/tests/quality/test_shrink_quality.py:147
↓ 1 callers
Function
local_file
(name)
tooling/setup.py:16
↓ 1 callers
Function
lone_user_error
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:81
↓ 1 callers
Function
make_
(how, *args, **kwargs)
hypothesis/src/hypothesis/extra/ghostwriter.py:1253
↓ 1 callers
Function
maker
( sub_property: str, args: str, body: str, right: str | None = None, )
hypothesis/src/hypothesis/extra/ghostwriter.py:1755
↓ 1 callers
Method
mark_forced
Note that the draw at node i was forced.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:429
↓ 1 callers
Method
mask_high_bits
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:52
↓ 1 callers
Function
matrix
(draw)
hypothesis/tests/cover/test_composite.py:112
↓ 1 callers
Function
maybe_pad
Attempt to insert padding around the result of a regex draw while preserving the match.
hypothesis/src/hypothesis/strategies/_internal/regex.py:225
↓ 1 callers
Function
merge_base
(a, b)
tooling/src/hypothesistooling/git.py:45
↓ 1 callers
Function
merge_preds
(*con_predicates: ConstructivePredicate)
hypothesis/src/hypothesis/internal/filtering.py:134
↓ 1 callers
Function
minimal_for_strategy
(s)
hypothesis/tests/nocover/test_precise_shrinking.py:150
↓ 1 callers
Function
minimal_nodes_for_strategy
(s)
hypothesis/tests/nocover/test_precise_shrinking.py:154
↓ 1 callers
Function
modified_files
()
tooling/src/hypothesistooling/git.py:98
↓ 1 callers
Method
move
Move ``value`` from key ``src`` to key ``dest``. Equivalent to ``delete(src, value)`` followed by ``save(src, value)``, but
hypothesis/src/hypothesis/database.py:255
↓ 1 callers
Method
move
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:803
↓ 1 callers
Method
move
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1217
↓ 1 callers
Function
multiple_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:118
↓ 1 callers
Function
multiple_stoptest_2
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:129
↓ 1 callers
Function
nested_dtypes
Return the most-general dtype strategy. Elements drawn from this strategy may be simple (from the subtype_strategy), or several such values d
hypothesis/src/hypothesis/extra/numpy.py:1040
↓ 1 callers
Function
nested_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:94
↓ 1 callers
Method
new_entry
Called when a key is written that does not currently appear in the map. Returns the score to associate with the key.
hypothesis/src/hypothesis/internal/cache.py:179
↓ 1 callers
Function
new_given_signature
Make an updated signature for the wrapped test.
hypothesis/src/hypothesis/core.py:808
↓ 1 callers
Function
next_up_normal
(value: float, width: int, *, allow_subnormal: bool)
hypothesis/src/hypothesis/internal/floats.py:121
↓ 1 callers
Function
nodes
(draw, *, was_forced=None, choice_types=None)
hypothesis/tests/conjecture/common.py:171
↓ 1 callers
Function
nodes_inline
For inline-creating a choice node or list of choice nodes, where you don't care about the constraints. This uses maximally-permissable constr
hypothesis/tests/conjecture/common.py:187
↓ 1 callers
Function
note_statistics
(stats_dict: "StatisticsDict")
hypothesis/src/hypothesis/statistics.py:25
↓ 1 callers
Function
notice_initialization_restarted
Reset _first_postinit_what, so that we don't think we're in post-init. Additionally, if it was set that means that there has been a sideeffect tha
hypothesis/src/hypothesis/configuration.py:124
↓ 1 callers
Function
numeric_bounds_from_ast
Take an AST; return a ConstructivePredicate. >>> lambda x: x >= 0 {"min_value": 0}, None >>> lambda x: x < 10 {"max_value": 10, "excl
hypothesis/src/hypothesis/internal/filtering.py:178
↓ 1 callers
Function
o
(e,n,t,r,s,g)
website/theme/static/prism.js:3
↓ 1 callers
Method
observe_for_provider
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:971
↓ 1 callers
Function
offset
(timezone)
hypothesis/tests/datetime/test_dateutil_timezones.py:83
↓ 1 callers
Method
on_access
Called every time a key that is already in the map is read or written. Returns the new score for the key.
hypothesis/src/hypothesis/internal/cache.py:187
↓ 1 callers
Method
on_evict
Called after a key has been evicted, with the score it had had at the point of eviction.
hypothesis/src/hypothesis/internal/cache.py:195
↓ 1 callers
Method
on_evict
Register a listener function that will be called with data when it gets removed from the front because something else dominates it.
hypothesis/src/hypothesis/internal/conjecture/pareto.py:257
↓ 1 callers
Function
oops
(*args)
hypothesis/tests/cover/test_validation.py:101
↓ 1 callers
Function
oops
(s)
hypothesis/tests/cover/test_flakiness.py:132
↓ 1 callers
Function
optional_union_parameter
(a: float, b: float | int | None)
hypothesis/tests/ghostwriter/test_expected_output.py:106
↓ 1 callers
Function
ordered_intersection
Set union of n sequences, ordered for reproducibility across runs.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:201
↓ 1 callers
Method
passing_choice_sequences
Return a collection of choice sequence nodes which cause the test to pass. Optionally restrict this by a certain prefix, which is useful for e
hypothesis/src/hypothesis/internal/conjecture/engine.py:1712
↓ 1 callers
Method
pdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:138
↓ 1 callers
Method
per_test_case_context_manager
(self)
hypothesis/tests/conjecture/test_provider.py:773
↓ 1 callers
Function
plot
(data, out)
hypothesis/benchmark/graph.py:114
↓ 1 callers
Function
plot_vega
(vega_spec, data, *, to, parameters=None)
hypothesis/benchmark/graph.py:19
↓ 1 callers
Function
pop
(l)
hypothesis/tests/conjecture/test_junkdrawer.py:114
↓ 1 callers
Method
prep_args_kwargs_from_strategies
( self, kwarg_strategies: dict[str, Any], )
hypothesis/src/hypothesis/control.py:211
↓ 1 callers
Function
pretty_file_name
(f: str)
hypothesis/src/hypothesis/internal/coverage.py:37
↓ 1 callers
Function
push_tag
(tagname)
tooling/src/hypothesistooling/git.py:88
↓ 1 callers
Function
raise_hypothesis_usage_error
(msg)
hypothesis/src/_hypothesis_pytestplugin.py:209
↓ 1 callers
Function
random_func
(x)
hypothesis/tests/cover/test_regressions.py:111
↓ 1 callers
Method
realize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:421
↓ 1 callers
Function
realize_choices
(data: ConjectureData, *, for_failure: bool)
hypothesis/src/hypothesis/internal/conjecture/engine.py:255
↓ 1 callers
Function
record_and_test_size
(xs)
hypothesis/tests/nocover/test_flatmap.py:59
↓ 1 callers
Function
record_branch
(name, value)
hypothesis/src/hypothesis/internal/coverage.py:61
↓ 1 callers
Method
record_choice
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:329
↓ 1 callers
Method
record_for_health_check
(self, data: ConjectureData)
hypothesis/src/hypothesis/internal/conjecture/engine.py:789
↓ 1 callers
Function
recur
(i)
hypothesis/tests/conjecture/test_junkdrawer.py:200
↓ 1 callers
Function
recur
(i, data)
hypothesis/tests/conjecture/test_engine.py:163
↓ 1 callers
Function
recur2
(strat: SearchStrategy)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:169
↓ 1 callers
Function
recurse
(codes)
hypothesis/src/hypothesis/strategies/_internal/regex.py:369
↓ 1 callers
Method
reduce_each_alternative
This is a pass that is designed to rerandomise use of the one_of strategy or things that look like it, in order to try to move from la
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:717
↓ 1 callers
Function
register_for
(field_type)
hypothesis/src/hypothesis/extra/django/_fields.py:113
↓ 1 callers
Function
register_type_strategy
Add an entry to the global type-to-strategy lookup. This lookup is used in :func:`~hypothesis.strategies.builds` and |@given|. :func:`~h
hypothesis/src/hypothesis/strategies/_internal/core.py:2503
↓ 1 callers
Function
remove_consecutive_newlines_in_rst
(path: Path)
tooling/src/hypothesistooling/__main__.py:216
↓ 1 callers
Function
replace_tzinfo
(value, timezone)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:37
↓ 1 callers
Method
replay_choices
Called when Hypothesis has discovered a choice sequence which the provider may wish to enqueue to replay under its own instrumentatio
hypothesis/src/hypothesis/internal/conjecture/providers.py:618
↓ 1 callers
Function
reqs_kwonly
(*, a, b)
hypothesis/tests/cover/test_annotations.py:61
↓ 1 callers
Function
requires_arg
Similar to the enum.Enum.__call__ method.
hypothesis/tests/cover/test_direct_strategies.py:571
↓ 1 callers
Function
resolve_strategies
(typ)
hypothesis/src/hypothesis/strategies/_internal/types.py:1263
↓ 1 callers
Function
restore_all
()
hypothesis/src/hypothesis/internal/entropy.py:228
↓ 1 callers
Function
result
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:324
↓ 1 callers
Function
reuse_group
(draw, group_name)
hypothesis/src/hypothesis/strategies/_internal/regex.py:84
↓ 1 callers
Function
reverse64
Reverse a 64-bit integer bitwise. We do this by breaking it up into 8 bytes. The 64-bit integer is then the concatenation of each of these by
hypothesis/src/hypothesis/internal/conjecture/floats.py:131
↓ 1 callers
Function
reverse_bits
(x: int, n: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:158
↓ 1 callers
Function
row
()
hypothesis/src/hypothesis/extra/pandas/impl.py:543
↓ 1 callers
Function
rows_only
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:540
↓ 1 callers
Method
rule_label
(self, name: str)
hypothesis/src/hypothesis/extra/lark.py:163
↓ 1 callers
Function
run
()
hypothesis/src/hypothesis/entry_points.py:22
↓ 1 callers
Method
run
(self)
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:52
↓ 1 callers
Method
run_engine
Run the test function many times, on database input and generated input, using the Conjecture engine.
hypothesis/src/hypothesis/core.py:1391
↓ 1 callers
Function
run_in_process
(fn: Callable[..., FTZCulprits], *args: object)
hypothesis/src/_hypothesis_ftz_detector.py:51
↓ 1 callers
Function
run_locally
()
hypothesis/tests/nocover/test_cacheable.py:60
↓ 1 callers
Method
run_node_program
Node programs are a mini-DSL for node rewriting, defined as a sequence of commands that can be run at some index into the nodes Comma
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1857
↓ 1 callers
Method
run_step
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:40
↓ 1 callers
Method
run_step
Run a single step of the main shrink loop, attempting to improve the current value.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:177
↓ 1 callers
Function
run_test
()
hypothesis/tests/cover/test_testdecorators.py:356
↓ 1 callers
Function
run_to_data
(f)
hypothesis/tests/conjecture/common.py:55
↓ 1 callers
Function
run_to_notes
(TestClass)
hypothesis/tests/nocover/test_stateful.py:29
← previous
next →
1,201–1,300 of 6,164, ranked by callers