MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,609 in github.com/HypothesisWorks/hypothesis

↓ 1 callersFunctionget_autoupdate_message
(domainlist_changed)
tooling/src/hypothesistooling/release.py:363
↓ 1 callersFunctionget_constraints_filter_map
()
hypothesis/src/hypothesis/strategies/_internal/types.py:435
↓ 1 callersMethodget_element
(self, i: int)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:765
↓ 1 callersFunctionget_float_predicate_bounds
(predicate: Predicate)
hypothesis/src/hypothesis/internal/filtering.py:332
↓ 1 callersFunctionget_fn
(import_path)
hypothesis/src/hypothesis/extra/codemods.py:109
↓ 1 callersFunctionget_line_num
(token, lines, skip_n=0)
hypothesis/tests/pytest/test_capture.py:74
↓ 1 callersFunctionget_state_machine_test
( state_machine_factory, *, settings=None, _min_steps=0, _flaky_state=None )
hypothesis/src/hypothesis/stateful.py:101
↓ 1 callersFunctionget_terminal_names
Get names of all terminals in the grammar. The arguments are the results of calling ``Lark.grammar.compile()``, so you would think that the `
hypothesis/src/hypothesis/extra/lark.py:42
↓ 1 callersFunctionget_top_level_domains
()
hypothesis/src/hypothesis/provisional.py:38
↓ 1 callersFunctionget_varargs
( sig: Signature, kind: int = Parameter.VAR_POSITIONAL )
hypothesis/src/hypothesis/internal/reflection.py:375
↓ 1 callersFunctiongetmodules
()
hypothesis/tests/ghostwriter/try-writing-for-installed.py:34
↓ 1 callersMethodgetstate
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:421
↓ 1 callersMethodgive_me_a_positive_int
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:41
↓ 1 callersMethodgive_me_a_string
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:36
↓ 1 callersMethodgreedy_shrink
Run a full set of greedy shrinks (that is, ones that will only ever move to a better target) and update shrink_target appropriately.
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:708
↓ 1 callersFunctiongreet
(world)
hypothesis/tests/cover/test_validation.py:83
↓ 1 callersFunctiongroup_conditional
(draw, group_name, if_yes, if_no)
hypothesis/src/hypothesis/strategies/_internal/regex.py:93
↓ 1 callersFunctiongroup_pred
(s)
hypothesis/tests/cover/test_regex.py:220
↓ 1 callersFunctiongufunc_arrays
An example user strategy built on top of mutually_broadcastable_shapes.
hypothesis/tests/numpy/test_gufunc.py:49
↓ 1 callersFunctiongufunc_sig_to_einsum_sig
E.g. (i,j),(j,k)->(i,k) becomes ...ij,...jk->...ik
hypothesis/tests/numpy/test_gufunc.py:134
↓ 1 callersFunctionh
(n3)
hypothesis/tests/cover/test_health_checks.py:230
↓ 1 callersFunctionhas_annotations
(elements)
hypothesis/src/hypothesis/strategies/_internal/core.py:268
↓ 1 callersFunctionhas_constant_offset
(tz)
hypothesis/src/hypothesis/extra/pandas/impl.py:45
↓ 1 callersFunctionhas_diff
(file_or_directory)
tooling/src/hypothesistooling/__main__.py:698
↓ 1 callersFunctionhas_uncommitted_changes
(filename)
tooling/src/hypothesistooling/git.py:67
↓ 1 callersMethodhill_climb
The main hill climbing loop where we actually do the work: Take data, and attempt to improve its score for target.
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:84
↓ 1 callersFunctionhook
(stats: Any)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:516
↓ 1 callersFunctionimpersonate
Decorator to update the attributes of a function so that to external introspectors it will appear to be the target function. Note that this u
hypothesis/src/hypothesis/internal/reflection.py:493
↓ 1 callersFunctionimplementation
(self, **kwargs)
hypothesis/src/hypothesis/strategies/_internal/random.py:128
↓ 1 callersFunctioninfer_dtype_if_necessary
(dtype, values, elements, draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:60
↓ 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_from_codec
Return IntervalSets of characters which can be encoded with this codec, and the subset which encode successfully but do not decode back to the
hypothesis/src/hypothesis/internal/charmap.py:145
↓ 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:1104
↓ 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:249
↓ 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:112
↓ 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:1128
↓ 1 callersMethodkill_branch
Mark this part of the tree as not worth re-exploring.
hypothesis/src/hypothesis/internal/conjecture/data.py:598
↓ 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:1266
↓ 1 callersFunctionmaker
( sub_property: str, args: str, body: str, right: str | None = None, )
hypothesis/src/hypothesis/extra/ghostwriter.py:1768
↓ 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
← previousnext →1,201–1,300 of 6,609, ranked by callers