MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

↓ 1 callersFunction_parameters_to_annotation_name
( parameters: Iterable[Any] | None, imports: ImportSet )
hypothesis/src/hypothesis/extra/ghostwriter.py:914
↓ 1 callersFunction_patch
(name, fn)
hypothesis/tests/conftest.py:168
↓ 1 callersMethod_pop_choice
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:1040
↓ 1 callersMethod_prepare_for_io
(self)
hypothesis/src/hypothesis/database.py:945
↓ 1 callersMethod_pretty_print
(self, value)
hypothesis/src/hypothesis/stateful.py:342
↓ 1 callersFunction_process_benchmark_data
(data)
hypothesis/benchmark/graph.py:52
↓ 1 callersFunction_query_for_key
Return a tuple of codepoint intervals covering characters that match one or more categories in the tuple of categories `key`. >>> _query_for_
hypothesis/src/hypothesis/internal/charmap.py:250
↓ 1 callersFunction_refactor
(func, fname)
hypothesis/src/hypothesis/extra/cli.py:157
↓ 1 callersMethod_reject_child
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/datatree.py:953
↓ 1 callersFunction_render_constraints
(show: Mapping[str, object], other: Mapping[str, object])
hypothesis/src/hypothesis/errors.py:94
↓ 1 callersMethod_render_redirect_template
(self, to_uri: str)
hypothesis/docs/_ext/hypothesis_redirects.py:173
↓ 1 callersFunction_repr_call
(*args, **kwargs)
hypothesis/tests/cover/test_pretty.py:623
↓ 1 callersMethod_repr_step
(self, rule: "Rule", data: Any, result: Any)
hypothesis/src/hypothesis/stateful.py:415
↓ 1 callersMethod_run
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1554
↓ 1 callersFunction_scalar_dtypes
Return a strategy for all :xp-ref:`valid dtype <data_types.html>` objects.
hypothesis/src/hypothesis/extra/array_api.py:593
↓ 1 callersMethod_setup_for
( cls, machine_type: type[RuleBasedStateMachine] )
hypothesis/src/hypothesis/stateful.py:1117
↓ 1 callersFunction_simplify_explicit_errors
Group explicit example errors by their InterestingOrigin, keeping only the simplest one, and adding a note of how many other examples failed
hypothesis/src/hypothesis/core.py:1598
↓ 1 callersFunction_sort_key
(path: str, lineno: int)
hypothesis/src/hypothesis/internal/scrutineer.py:276
↓ 1 callersMethod_start_listening
Called when the database adds a change listener, and did not previously have any change listeners. Intended to allow databases to wai
hypothesis/src/hypothesis/database.py:335
↓ 1 callersFunction_stash_get
(config, key, default)
hypothesis/src/_hypothesis_pytestplugin.py:325
↓ 1 callersFunction_strategy_for
(param: inspect.Parameter, docstring: str)
hypothesis/src/hypothesis/extra/ghostwriter.py:253
↓ 1 callersFunction_system_metadata
()
hypothesis/src/hypothesis/internal/observability.py:514
↓ 1 callersFunction_test_matching_pattern
(pattern, *, isvalidchar, is_unicode=False)
hypothesis/tests/cover/test_regex.py:71
↓ 1 callersFunction_test_non_observed_draws_are_not_recorded_in_tree
(choice_type)
hypothesis/tests/conjecture/test_data_tree.py:445
↓ 1 callersFunction_test_observed_draws_are_recorded_in_tree
(choice_type)
hypothesis/tests/conjecture/test_data_tree.py:425
↓ 1 callersFunction_to_jsonable
(obj: object, *, avoid_realization: bool, seen: set[int])
hypothesis/src/hypothesis/strategies/_internal/utils.py:159
↓ 1 callersMethod_to_test_case
(cls)
hypothesis/src/hypothesis/stateful.py:499
↓ 1 callersFunction_try_import
(mod_name: str, attr_name: str)
hypothesis/src/hypothesis/extra/numpy.py:65
↓ 1 callersFunction_try_import_forward_ref
Tries to import a real bound or default type from ``ForwardRef`` in ``TypeVar``. This function is very "magical" to say the least, please do
hypothesis/src/hypothesis/strategies/_internal/types.py:531
↓ 1 callersFunction_type_from_doc_fragment
(token: str)
hypothesis/src/hypothesis/extra/ghostwriter.py:218
↓ 1 callersFunction_unpack_dtype
(dtype)
hypothesis/src/hypothesis/extra/numpy.py:1340
↓ 1 callersFunction_usable_dir
Returns True if the desired path can be used as database path because either the directory exists and can be used, or its root directory can
hypothesis/src/hypothesis/database.py:67
↓ 1 callersFunction_valid_key_cacheable
(tzpath, key)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:399
↓ 1 callersFunction_validate_backend
(backend: str)
hypothesis/src/hypothesis/_settings.py:524
↓ 1 callersFunction_validate_choices
(name: str, value: T, *, choices: Sequence[object])
hypothesis/src/hypothesis/_settings.py:419
↓ 1 callersFunction_validate_database
( database: Optional["ExampleDatabase"], )
hypothesis/src/hypothesis/_settings.py:446
↓ 1 callersFunction_validate_deadline
( deadline: int | float | datetime.timedelta | None, )
hypothesis/src/hypothesis/_settings.py:494
↓ 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:361
↓ 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:290
↓ 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:369
↓ 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:1337
↓ 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:677
↓ 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:175
↓ 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:557
↓ 1 callersMethodcall_target
(self)
hypothesis/tests/cover/test_settings.py:332
↓ 1 callersMethodcapped
(self, max_templates: int)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:75
↓ 1 callersFunctionchangelog
()
tooling/src/hypothesistooling/release.py:250
↓ 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:254
↓ 1 callersMethodcheck_calls
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:387
↓ 1 callersFunctioncheck_explicit
(name)
hypothesis/src/hypothesis/extra/lark.py:198
↓ 1 callersMethodcheck_invariants
(self, settings, output, runtimes)
hypothesis/src/hypothesis/stateful.py:463
↓ 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:353
↓ 1 callersFunctioncheck_requirements
()
tooling/src/hypothesistooling/__main__.py:634
↓ 1 callersMethodcheck_set_value
(self, val, val_0d, strategy)
hypothesis/src/hypothesis/extra/array_api.py:322
↓ 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:333
↓ 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:584
↓ 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
← previousnext →901–1,000 of 6,164, ranked by callers