MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,346 in github.com/HypothesisWorks/hypothesis

↓ 1 callersMethodinitialize
(self)
hypothesis/tests/cover/test_stateful.py:1066
↓ 1 callersFunctioninner
(uuid)
hypothesis/tests/nocover/test_uuids.py:31
↓ 1 callersFunctioninner
(x)
hypothesis/tests/common/debug.py:70
↓ 1 callersFunctioninner
(_)
hypothesis/tests/numpy/test_randomness.py:22
↓ 1 callersFunctioninner
(foo, bar, baz)
hypothesis/tests/cover/test_custom_reprs.py:91
↓ 1 callersFunctioninner
(value: X)
hypothesis/tests/cover/test_error_in_draw.py:50
↓ 1 callersFunctioninner
(ex)
hypothesis/tests/cover/test_type_lookup.py:56
↓ 1 callersFunctioninner
(d)
hypothesis/tests/cover/test_searchstrategy.py:110
↓ 1 callersFunctioninner_1
(ex)
hypothesis/tests/cover/test_lookup.py:270
↓ 1 callersFunctioninner_2
(ex)
hypothesis/tests/cover/test_lookup.py:276
↓ 1 callersFunctioninner_test_multiple_failing_examples
(x)
hypothesis/tests/cover/test_explicit_examples.py:255
↓ 1 callersFunctioninner_tst
(n)
hypothesis/tests/cover/test_numerics.py:147
↓ 1 callersFunctioninstalled_array_modules
Returns a dictionary of array module names paired to their entry points A convenience wrapper for importlib.metadata.entry_points(). It has the
hypothesis/tests/array_api/common.py:37
↓ 1 callersFunctioninteger_constr
(min_value=None, max_value=None, *, weights=None, shrink_towards=0)
hypothesis/tests/conjecture/common.py:263
↓ 1 callersFunctioninteger_dtypes
( *, endianness: str = "?", sizes: Literal[8], )
hypothesis/src/hypothesis/extra/numpy.py:737
↓ 1 callersFunctioninteger_weights
( draw: DrawFn, min_value: int | None = None, max_value: int | None = None )
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:76
↓ 1 callersFunctionintegers_for_field
(min_value, max_value)
hypothesis/src/hypothesis/extra/django/_fields.py:53
↓ 1 callersFunctioninterval_lists
( *, min_codepoint: int = 0, max_codepoint: int = sys.maxunicode, min_size: int = 0 )
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:50
↓ 1 callersFunctionintervals
( *, min_codepoint: int = 0, max_codepoint: int = sys.maxunicode, min_size: int = 0 )
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:64
↓ 1 callersFunctionintervals_to_set
(ints)
hypothesis/tests/cover/test_intervalset.py:72
↓ 1 callersFunctioninvariant
Decorator to apply an invariant for rules in a RuleBasedStateMachine. The decorated function will be run after every rule and can raise an exc
hypothesis/src/hypothesis/stateful.py:1110
↓ 1 callersFunctionip_addresses
r"""Generate IP addresses - ``v=4`` for :class:`~python:ipaddress.IPv4Address`\ es, ``v=6`` for :class:`~python:ipaddress.IPv6Address`\ es, or lea
hypothesis/src/hypothesis/strategies/_internal/ipaddress.py:74
↓ 1 callersFunctionis_ascii
(s)
hypothesis/tests/cover/test_regex.py:38
↓ 1 callersMethodis_currently_empty
Returns whether this strategy is currently empty. Unlike ``empty``, which is computed based on static information and cannot change,
hypothesis/src/hypothesis/strategies/_internal/strategies.py:251
↓ 1 callersFunctionis_factorial
(n)
hypothesis/tests/quality/test_discovery_ability.py:139
↓ 1 callersFunctionis_integral
(value)
hypothesis/tests/nocover/test_simple_numbers.py:135
↓ 1 callersFunctionis_intersphinx_link
(uri)
hypothesis/docs/_ext/hypothesis_linkcheck.py:32
↓ 1 callersFunctionis_invalid_test
Check the arguments to ``@given`` for basic usage constraints. Most errors are not raised immediately; instead we return a dummy test functio
hypothesis/src/hypothesis/core.py:474
↓ 1 callersFunctionis_maximal
(t)
hypothesis/src/hypothesis/strategies/_internal/types.py:793
↓ 1 callersFunctionis_not_too_large
(x)
hypothesis/tests/cover/test_testdecorators.py:98
↓ 1 callersMethodis_pinned
Returns True if the key is currently pinned.
hypothesis/src/hypothesis/internal/cache.py:166
↓ 1 callersFunctionis_pytz_timezone
(tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:110
↓ 1 callersFunctionis_simple
(f: float)
hypothesis/src/hypothesis/internal/conjecture/floats.py:212
↓ 1 callersFunctionis_sphinx
(f)
whole_repo_tests/whole_repo/test_rst_is_valid.py:20
↓ 1 callersFunctionis_square
(m)
hypothesis/tests/cover/test_composite.py:122
↓ 1 callersFunctionis_typing_literal
(thing: object)
hypothesis/src/hypothesis/strategies/_internal/types.py:421
↓ 1 callersFunctionjust_draw_columns
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:724
↓ 1 callersMethodkill_branch
Mark this part of the tree as not worth re-exploring.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1131
↓ 1 callersMethodkill_branch
Mark this part of the tree as not worth re-exploring.
hypothesis/src/hypothesis/internal/conjecture/data.py:546
↓ 1 callersFunctionlambda_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 callersMethodleft_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 callersMethodleft_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/collection.py:35
↓ 1 callersFunctionlistener
(event)
hypothesis/tests/watchdog/test_database.py:70
↓ 1 callersFunctionlists_of_length
(n)
hypothesis/tests/quality/test_shrink_quality.py:147
↓ 1 callersFunctionlocal
(value)
hypothesis/tests/datetime/test_pytz_timezones.py:80
↓ 1 callersFunctionlocal_file
(name)
tooling/setup.py:16
↓ 1 callersFunctionlone_user_error
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:81
↓ 1 callersFunctionmake_
(how, *args, **kwargs)
hypothesis/src/hypothesis/extra/ghostwriter.py:1253
↓ 1 callersFunctionmaker
( sub_property: str, args: str, body: str, right: str | None = None, )
hypothesis/src/hypothesis/extra/ghostwriter.py:1755
↓ 1 callersMethodmark_forced
Note that the draw at node i was forced.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:429
↓ 1 callersMethodmask_high_bits
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:52
↓ 1 callersFunctionmatrix
(draw)
hypothesis/tests/cover/test_composite.py:112
↓ 1 callersFunctionmaybe_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 callersFunctionmerge_base
(a, b)
tooling/src/hypothesistooling/git.py:45
↓ 1 callersFunctionmerge_preds
(*con_predicates: ConstructivePredicate)
hypothesis/src/hypothesis/internal/filtering.py:134
↓ 1 callersFunctionminimal_for_strategy
(s)
hypothesis/tests/nocover/test_precise_shrinking.py:150
↓ 1 callersFunctionminimal_nodes_for_strategy
(s)
hypothesis/tests/nocover/test_precise_shrinking.py:154
↓ 1 callersFunctionmodified_files
()
tooling/src/hypothesistooling/git.py:98
↓ 1 callersMethodmove
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 callersMethodmove
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:803
↓ 1 callersMethodmove
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1217
↓ 1 callersFunctionmultiple_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:118
↓ 1 callersFunctionmultiple_stoptest_2
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:129
↓ 1 callersFunctionnaive_datetime64_dtype
The underlying timezone-naive ``datetime64[unit]`` dtype that backs a :class:`~pandas.DatetimeTZDtype`.
hypothesis/src/hypothesis/extra/pandas/impl.py:94
↓ 1 callersFunctionnested_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 callersFunctionnested_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:94
↓ 1 callersMethodnew_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 callersFunctionnew_given_signature
Make an updated signature for the wrapped test.
hypothesis/src/hypothesis/core.py:812
↓ 1 callersFunctionnext_up_normal
(value: f64, width: u32, allow_subnormal: bool)
hypothesis/rust/src/internal/floats.rs:226
↓ 1 callersFunctionnodes
(draw, *, was_forced=None, choice_types=None)
hypothesis/tests/conjecture/common.py:171
↓ 1 callersFunctionnodes_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 callersFunctionnote_statistics
(stats_dict: "StatisticsDict")
hypothesis/src/hypothesis/statistics.py:25
↓ 1 callersFunctionnotice_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 callersFunctionnumeric_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 callersFunctiono
(e,n,t,r,s,g)
website/theme/static/prism.js:3
↓ 1 callersMethodobserve_for_provider
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:967
↓ 1 callersFunctionoffset
(timezone)
hypothesis/tests/datetime/test_dateutil_timezones.py:92
↓ 1 callersMethodon_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 callersMethodon_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 callersMethodon_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 callersFunctionoops
(*args)
hypothesis/tests/cover/test_validation.py:101
↓ 1 callersFunctionoops
(s)
hypothesis/tests/cover/test_flakiness.py:132
↓ 1 callersFunctionoptional_union_parameter
(a: float, b: float | int | None)
hypothesis/tests/ghostwriter/test_expected_output.py:106
↓ 1 callersFunctionordered_intersection
Set union of n sequences, ordered for reproducibility across runs.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:201
↓ 1 callersMethodpassing_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:1708
↓ 1 callersMethodpdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:138
↓ 1 callersMethodper_test_case_context_manager
(self)
hypothesis/tests/conjecture/test_provider.py:773
↓ 1 callersFunctionplot
(data, out)
hypothesis/benchmark/graph.py:114
↓ 1 callersFunctionplot_vega
(vega_spec, data, *, to, parameters=None)
hypothesis/benchmark/graph.py:19
↓ 1 callersFunctionpop
(l)
hypothesis/tests/conjecture/test_junkdrawer.py:114
↓ 1 callersMethodprep_args_kwargs_from_strategies
( self, kwarg_strategies: dict[str, Any], )
hypothesis/src/hypothesis/control.py:207
↓ 1 callersFunctionpretty_file_name
(f: str)
hypothesis/src/hypothesis/internal/coverage.py:37
↓ 1 callersFunctionpush_tag
(tagname)
tooling/src/hypothesistooling/git.py:88
↓ 1 callersFunctionraise_hypothesis_usage_error
(msg)
hypothesis/src/_hypothesis_pytestplugin.py:209
↓ 1 callersFunctionrandom
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:99
↓ 1 callersFunctionrandom_func
(x)
hypothesis/tests/cover/test_regressions.py:111
↓ 1 callersMethodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:421
↓ 1 callersFunctionrealize_choices
(data: ConjectureData, *, for_failure: bool)
hypothesis/src/hypothesis/internal/conjecture/engine.py:255
↓ 1 callersFunctionrecord_and_test_size
(xs)
hypothesis/tests/nocover/test_flatmap.py:59
↓ 1 callersFunctionrecord_branch
(name, value)
hypothesis/src/hypothesis/internal/coverage.py:61
← previousnext →1,201–1,300 of 6,346, ranked by callers