MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,609 in github.com/HypothesisWorks/hypothesis

↓ 1 callersFunction_validate_max_examples
(max_examples: int)
hypothesis/src/hypothesis/_settings.py:436
↓ 1 callersFunction_validate_phases
(phases: Collection[Phase])
hypothesis/src/hypothesis/_settings.py:460
↓ 1 callersFunction_validate_stateful_step_count
(stateful_step_count: int)
hypothesis/src/hypothesis/_settings.py:469
↓ 1 callersFunction_validate_suppress_health_check
(suppressions: object)
hypothesis/src/hypothesis/_settings.py:478
↓ 1 callersFunction_value_key
(value: object)
hypothesis/src/hypothesis/strategies/_internal/utils.py:36
↓ 1 callersMethod_with_switch_to_hypothesis_provider
( self, value: bool )
hypothesis/src/hypothesis/internal/conjecture/engine.py:375
↓ 1 callersFunction_worker_path
(session: pytest.Session)
hypothesis/tests/conftest.py:290
↓ 1 callersFunctionabc
(x, y, z)
hypothesis/tests/common/__init__.py:46
↓ 1 callersFunctionaccept
(flag)
hypothesis/tests/nocover/test_sampled_from.py:120
↓ 1 callersMethodaccept
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:292
↓ 1 callersMethodadd_category
Update characters state to match sre_parse object ``category``.
hypothesis/src/hypothesis/strategies/_internal/regex.py:219
↓ 1 callersMethodadd_char
Add given char to the whitelist.
hypothesis/src/hypothesis/strategies/_internal/regex.py:191
↓ 1 callersFunctionadjust
(ex, **kwargs)
hypothesis/tests/nocover/test_argument_validation.py:24
↓ 1 callersFunctionall_substrings
Generate all substrings of `s`, in order of length then occurrence. Includes the empty string (first), and any duplicates that are present. >
hypothesis/src/hypothesis/strategies/_internal/attrs.py:210
↓ 1 callersFunctionalternating
(code, i, n)
hypothesis/src/hypothesis/internal/lambda_sources.py:150
↓ 1 callersMethodappend
(self, f)
hypothesis/src/hypothesis/internal/observability.py:371
↓ 1 callersFunctionarg_is_required
(param: Parameter)
hypothesis/src/hypothesis/internal/reflection.py:167
↓ 1 callersFunctionarray_for
(index_shape, size)
hypothesis/src/hypothesis/extra/numpy.py:1328
↓ 1 callersFunctionas_strategy
(strat_or_callable, thing)
hypothesis/src/hypothesis/strategies/_internal/core.py:1363
↓ 1 callersFunctionascii_regex
(pattern)
hypothesis/tests/cover/test_regex.py:63
↓ 1 callersFunctionassert_examples
(s)
hypothesis/tests/common/debug.py:128
↓ 1 callersFunctionassign_rows
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:803
↓ 1 callersMethodassume_in_reify
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:54
↓ 1 callersMethodassume_some_stuff
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:50
↓ 1 callersFunctionbad_django_TestCase
(runner: Optional["ConjectureRunner"])
hypothesis/src/hypothesis/internal/compat.py:239
↓ 1 callersFunctionbad_test
()
hypothesis/tests/nocover/test_testdecorators.py:50
↓ 1 callersFunctionbar
(draw)
hypothesis/tests/nocover/test_labels.py:33
↓ 1 callersMethodbar
(self)
hypothesis/tests/pytest/test_fixtures.py:39
↓ 1 callersFunctionbase_float_to_lex
(f: float)
hypothesis/src/hypothesis/internal/conjecture/floats.py:200
↓ 1 callersFunctionbaz
(draw)
hypothesis/tests/nocover/test_labels.py:38
↓ 1 callersFunctionbelongs_to
(package: ModuleType)
hypothesis/src/hypothesis/internal/escalation.py:31
↓ 1 callersFunctionbinary_search
Binary searches in [lo , hi) to find n such that f(n) == f(lo) but f(n + 1) != f(lo). It is implicitly assumed and will not be checked tha
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:195
↓ 1 callersFunctionboolean_dtypes
Return a strategy for boolean dtypes.
hypothesis/src/hypothesis/extra/numpy.py:639
↓ 1 callersFunctionboom
(t)
hypothesis/tests/cover/test_validation.py:144
↓ 1 callersMethodboom
(self, b)
hypothesis/tests/cover/test_executors.py:28
↓ 1 callersFunctionbreadth
(x)
hypothesis/tests/nocover/test_recursive.py:57
↓ 1 callersFunctionbuilds_ignoring_invalid
(target, *args, **kwargs)
hypothesis/tests/nocover/test_pretty_repr.py:35
↓ 1 callersFunctionbyte_string_dtypes
Return a strategy for generating bytestring dtypes, of various lengths and byteorder. While Hypothesis' string strategies can generate empty
hypothesis/src/hypothesis/extra/numpy.py:962
↓ 1 callersFunctionc
(e,n,t)
website/theme/static/prism.js:3
↓ 1 callersMethodcalc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:555
↓ 1 callersMethodcall_target
(self)
hypothesis/tests/cover/test_settings.py:332
↓ 1 callersMethodcapped
(self, max_templates: int)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:84
↓ 1 callersFunctionchangelog
()
tooling/src/hypothesistooling/release.py:264
↓ 1 callersFunctionchars_not_in_alphabet
(alphabet: SearchStrategy | None, string: str)
hypothesis/src/hypothesis/strategies/_internal/regex.py:109
↓ 1 callersFunctioncharset
(draw)
hypothesis/tests/nocover/test_regex.py:26
↓ 1 callersFunctioncheck
(name)
hypothesis/src/hypothesis/internal/coverage.py:89
↓ 1 callersFunctioncheck_artifact_versions
(*, expected_version)
tooling/src/hypothesistooling/release.py:268
↓ 1 callersMethodcheck_calls
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:390
↓ 1 callersFunctioncheck_explicit
(name)
hypothesis/src/hypothesis/extra/lark.py:213
↓ 1 callersMethodcheck_invariants
(self, settings, output, runtimes)
hypothesis/src/hypothesis/stateful.py:465
↓ 1 callersMethodcheck_invariants
Make appropriate assertions about the value to ensure that it is valid for this shrinker. Does nothing by default.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:157
↓ 1 callersFunctioncheck_not_changed
()
tooling/src/hypothesistooling/__main__.py:374
↓ 1 callersFunctioncheck_requirements
()
tooling/src/hypothesistooling/__main__.py:727
↓ 1 callersFunctioncheck_signature
(sig: Signature)
hypothesis/src/hypothesis/internal/reflection.py:119
↓ 1 callersFunctioncheck_strategy_
(*args)
hypothesis/tests/cover/test_validation.py:266
↓ 1 callersFunctioncheck_type_
(*args)
hypothesis/tests/cover/test_validation.py:256
↓ 1 callersFunctioncheck_valid_identifier
(identifier: str)
hypothesis/src/hypothesis/internal/reflection.py:341
↓ 1 callersFunctioncheck_valid_magnitude
Checks that value is either unspecified, or a non-negative valid interval bound. Otherwise raises InvalidArgument.
hypothesis/src/hypothesis/internal/validation.py:66
↓ 1 callersFunctioncheck_valid_minmax
(prefix, val, info_obj)
hypothesis/src/hypothesis/extra/array_api.py:210
↓ 1 callersFunctionchoice_constraints_equal
( choice_type: ChoiceTypeT, constraints1: ChoiceConstraintsT, constraints2: ChoiceConstraintsT, )
hypothesis/src/hypothesis/internal/conjecture/choice.py:602
↓ 1 callersMethodclean_inputs
( minimum: int, maximum: int, value: int | None, variable_name: str )
hypothesis/src/hypothesis/provisional.py:62
↓ 1 callersFunctionclear_cache_after_draw
(draw, base_strategy)
hypothesis/src/hypothesis/strategies/_internal/regex.py:102
↓ 1 callersMethodclear_call_explanation
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:394
↓ 1 callersMethodclear_database
(self)
hypothesis/tests/nocover/test_strategy_state.py:53
↓ 1 callersMethodclear_listeners
(self)
hypothesis/tests/cover/test_database_backend.py:636
↓ 1 callersFunctioncollection_index
( choice: Sequence[T], *, min_size: int, alphabet_size: int, to_order: Callable[[T], int],
hypothesis/src/hypothesis/internal/conjecture/choice.py:241
↓ 1 callersFunctioncollection_value
( index: int, *, min_size: int, alphabet_size: int, from_order: Callable[[int], T], )
hypothesis/src/hypothesis/internal/conjecture/choice.py:270
↓ 1 callersFunctioncolumn_strategy
(draw)
hypothesis/tests/pandas/test_data_frame.py:167
↓ 1 callersFunctioncommit_pending_release
Create a commit with the new release.
tooling/src/hypothesistooling/release.py:112
↓ 1 callersFunctioncomp_to_constraints
(x: ast.AST, op: ast.AST, y: ast.AST, *, argname: str)
hypothesis/src/hypothesis/internal/filtering.py:99
↓ 1 callersFunctioncompat_kw
Update default args to the strategy with user-supplied keyword args.
hypothesis/src/hypothesis/extra/numpy.py:168
↓ 1 callersFunctioncomplex_number_dtypes
( *, endianness: str = "?", sizes: Literal[64], )
hypothesis/src/hypothesis/extra/numpy.py:858
↓ 1 callersFunctioncompute_sampler_table
(weights: tuple[float, ...])
hypothesis/src/hypothesis/internal/conjecture/utils.py:127
↓ 1 callersMethodconclude_test
Says that ``status`` occurred at node ``node``. This updates the node if necessary and checks for consistency.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1152
↓ 1 callersFunctioncond
(x)
hypothesis/tests/nocover/test_sampled_from.py:32
↓ 1 callersFunctionconfigure_git
()
tooling/src/hypothesistooling/git.py:78
↓ 1 callersFunctionconservative_regex
(draw)
hypothesis/tests/nocover/test_regex.py:39
↓ 1 callersMethodconsider_new_data
Consider a new data object as a candidate target. If it is better than the current one, return True.
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:62
↓ 1 callersFunctionconstrained_complex
(draw)
hypothesis/src/hypothesis/strategies/_internal/core.py:2281
↓ 1 callersFunctionconvert_lines
()
whole_repo_tests/types/test_mypy.py:114
↓ 1 callersFunctioncoro_decorator
(f)
hypothesis/tests/cover/test_asyncio.py:28
↓ 1 callersFunctioncounts_calls
A decorator that counts how many times a function was called, and stores that value in a ``.calls`` attribute.
hypothesis/tests/common/utils.py:162
↓ 1 callersFunctioncreate_github_release
()
tooling/src/hypothesistooling/release.py:303
↓ 1 callersMethodcreate_redirects
Create actual redirect file for each pair in passed mapping of docnames to targets.
hypothesis/docs/_ext/hypothesis_redirects.py:127
↓ 1 callersFunctioncreate_tag
(tagname)
tooling/src/hypothesistooling/git.py:83
↓ 1 callersFunctionctx
Return a context in which this value is lossless.
hypothesis/src/hypothesis/strategies/_internal/core.py:1909
↓ 1 callersFunctioncurrent_reporter
()
hypothesis/src/hypothesis/reporting.py:31
↓ 1 callersFunctiondata
Provides an object ``data`` with a ``data.draw`` function which acts like the ``draw`` callable provided by |st.composite|, in that it can be
hypothesis/src/hypothesis/strategies/_internal/core.py:2486
↓ 1 callersFunctiondataclass_asdict
A vendored variant of dataclasses.asdict. Includes the bugfix for defaultdicts (cpython/32056) for all versions. See also issues/3812
hypothesis/src/hypothesis/internal/compat.py:279
↓ 1 callersFunctiondatetime64_dtypes
Return a strategy for datetime64 dtypes, with various precisions from year to attosecond.
hypothesis/src/hypothesis/extra/numpy.py:934
↓ 1 callersFunctiondecode
(table: list[tuple[int, str]])
hypothesis/tests/quality/test_shrink_quality.py:485
↓ 1 callersFunctiondecode_exponent
Take an integer and turn it into a suitable floating point exponent such that lexicographically simpler leads to simpler floats.
hypothesis/src/hypothesis/internal/conjecture/floats.py:101
↓ 1 callersMethoddecompress
(self, value)
hypothesis/tests/django/toystore/forms.py:196
↓ 1 callersFunctiondefine_copy_method
(name)
hypothesis/src/hypothesis/strategies/_internal/random.py:125
↓ 1 callersFunctiondefine_method_strategy
(name, **kwargs)
hypothesis/tests/cover/test_randoms.py:50
↓ 1 callersFunctiondefine_test
(specifier, predicate, condition=None, p=0.5, suppress_health_check=())
hypothesis/tests/quality/test_discovery_ability.py:52
↓ 1 callersMethoddelegate
Delegates shrinking to another shrinker class, by converting the current value to and from it with provided functions.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:59
↓ 1 callersMethoddelete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:399
↓ 1 callersMethoddelete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1213
↓ 1 callersMethoddescribe
(self, settings: Settings)
hypothesis/src/hypothesis/internal/conjecture/engine.py:182
← previousnext →1,001–1,100 of 6,609, ranked by callers