MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,609 in github.com/HypothesisWorks/hypothesis

↓ 1 callersFunction_exceptions_from_docstring
Return a tuple of exceptions that the docstring says may be raised. Note that we ignore non-builtin exception types for simplicity, as this is
hypothesis/src/hypothesis/extra/ghostwriter.py:200
↓ 1 callersMethod_explain
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:502
↓ 1 callersMethod_explain_candidates
Yield deterministic candidate replacements for ``nodes[start:end]``. Random sampling alone misses cases like ``assert n1 == n2``, where the
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:674
↓ 1 callersMethod_fetch_artifact
(self)
hypothesis/src/hypothesis/database.py:1090
↓ 1 callersMethod_flaky_replay_to_failure
( self, err: FlakyReplay, context: BaseException )
hypothesis/src/hypothesis/core.py:1193
↓ 1 callersFunction_flat_annotated_repr_parts
(annotated_type)
hypothesis/src/hypothesis/strategies/_internal/types.py:465
↓ 1 callersFunction_flatten_group
(excgroup: BaseExceptionGroup[T])
hypothesis/src/hypothesis/core.py:861
↓ 1 callersFunction_floats_between
(a: float, b: float)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:281
↓ 1 callersFunction_forms_impl
Handle the nasty part of drawing a value for from_form()
hypothesis/src/hypothesis/extra/django/_impl.py:227
↓ 1 callersFunction_from_type
Called by st.from_type to try to infer a strategy for thing using numpy. If we can infer a numpy-specific strategy for thing, we return that; oth
hypothesis/src/hypothesis/extra/numpy.py:1371
↓ 1 callersFunction_functions
(*, like, returns, pure)
hypothesis/src/hypothesis/strategies/_internal/core.py:2696
↓ 1 callersFunction_get_annotation_arg
(key, annotation_type)
hypothesis/src/hypothesis/strategies/_internal/core.py:1513
↓ 1 callersMethod_get_bytes
(self, url: str)
hypothesis/src/hypothesis/database.py:1047
↓ 1 callersFunction_get_exceptioninfo
()
hypothesis/src/hypothesis/internal/escalation.py:149
↓ 1 callersFunction_get_git_repo_root
()
hypothesis/src/hypothesis/internal/scrutineer.py:310
↓ 1 callersFunction_get_params_builtin_fn
(func: Callable)
hypothesis/src/hypothesis/extra/ghostwriter.py:433
↓ 1 callersFunction_get_params_ufunc
(func: Callable)
hypothesis/src/hypothesis/extra/ghostwriter.py:465
↓ 1 callersFunction_get_patch_for
( func: Any, examples: Sequence[tuple[str, str]], *, strip_via: tuple[str, ...] = (), name
hypothesis/src/hypothesis/extra/_patching.py:192
↓ 1 callersFunction_get_platform_base_refcount
(r: Any)
hypothesis/src/hypothesis/internal/entropy.py:66
↓ 1 callersFunction_get_provider
(backend: str)
hypothesis/src/hypothesis/internal/conjecture/engine.py:190
↓ 1 callersFunction_get_pyright_output
(file: Path)
whole_repo_tests/types/test_pyright.py:357
↓ 1 callersFunction_get_testable_functions
(thing: object)
hypothesis/src/hypothesis/extra/ghostwriter.py:1154
↓ 1 callersFunction_get_typeddict_qualifiers
(key, annotation_type)
hypothesis/src/hypothesis/strategies/_internal/core.py:1522
↓ 1 callersFunction_gets_first_item
(fn: Callable)
hypothesis/src/hypothesis/strategies/_internal/core.py:295
↓ 1 callersFunction_glob_to_re
Translate a list of glob patterns to a combined regular expression. Only the * and ** wildcards are supported, and patterns including special
hypothesis/src/hypothesis/internal/scrutineer.py:166
↓ 1 callersFunction_guess_strategy_by_argname
If all else fails, we try guessing a strategy based on common argument names. We wouldn't do this in builds() where strict correctness is re
hypothesis/src/hypothesis/extra/ghostwriter.py:336
↓ 1 callersFunction_hint_and_args
(x)
hypothesis/src/hypothesis/internal/compat.py:126
↓ 1 callersMethod_hypothesis_do_random
(self, method, kwargs)
hypothesis/src/hypothesis/strategies/_internal/random.py:397
↓ 1 callersMethod_hypothesis_log_random
(self, method, kwargs, result)
hypothesis/src/hypothesis/strategies/_internal/random.py:53
↓ 1 callersFunction_identifier_characters
See https://docs.python.org/3/reference/lexical_analysis.html#identifiers
hypothesis/src/hypothesis/strategies/_internal/strings.py:423
↓ 1 callersFunction_imports_for_object
Return the imports for `obj`, which may be empty for e.g. lambdas
hypothesis/src/hypothesis/extra/ghostwriter.py:590
↓ 1 callersFunction_index_to_size
(index: int, alphabet_size: int)
hypothesis/src/hypothesis/internal/conjecture/choice.py:212
↓ 1 callersFunction_invalid
(message, *, exc=InvalidArgument, test, given_kwargs)
hypothesis/src/hypothesis/core.py:460
↓ 1 callersFunction_invalid_thresholds
(*, r: float, c: float)
hypothesis/src/hypothesis/internal/conjecture/engine.py:159
↓ 1 callersMethod_invert
(self, value: Any)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:75
↓ 1 callersMethod_invert
(self, value: Any)
hypothesis/src/hypothesis/strategies/_internal/misc.py:69
↓ 1 callersMethod_invert
(self, value: Any)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:700
↓ 1 callersFunction_is_singleton
Returns True if two separately created instances of v will have the same id (due to interning).
hypothesis/src/hypothesis/stateful.py:69
↓ 1 callersFunction_is_subnormal
(x)
hypothesis/tests/cover/test_complex_numbers.py:105
↓ 1 callersMethod_key_path
(key: bytes)
hypothesis/src/hypothesis/database.py:1131
↓ 1 callersFunction_lambda_code_matches_node
(f, node)
hypothesis/src/hypothesis/internal/lambda_sources.py:292
↓ 1 callersFunction_lambda_description
(f, leeway=50, *, fail_if_confused_with_perfect_candidate=False)
hypothesis/src/hypothesis/internal/lambda_sources.py:310
↓ 1 callersMethod_last_names
(self, n: int)
hypothesis/src/hypothesis/stateful.py:369
↓ 1 callersFunction_list_strategy_type
()
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1176
↓ 1 callersFunction_main
()
hypothesis/tests/nocover/test_exceptiongroup.py:36
↓ 1 callersFunction_make_binop_body
( func: Callable[[X, X], Y], *, associative: bool = True, commutative: bool = True, identi
hypothesis/src/hypothesis/extra/ghostwriter.py:1748
↓ 1 callersFunction_make_equiv_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1558
↓ 1 callersFunction_make_equiv_errors_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1598
↓ 1 callersFunction_make_roundtrip_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1496
↓ 1 callersFunction_make_ufunc_body
(func, *, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1914
↓ 1 callersMethod_make_zip
(self, tree_path: Path, zip_path: Path)
hypothesis/tests/cover/test_database_backend.py:435
↓ 1 callersFunction_mean_difference_ci
(n1, n2, *, confidence)
hypothesis/benchmark/graph.py:37
↓ 1 callersFunction_mimic_lambda_from_node
(f, node)
hypothesis/src/hypothesis/internal/lambda_sources.py:215
↓ 1 callersFunction_models_impl
Handle the nasty part of drawing a value for models()
hypothesis/src/hypothesis/extra/django/_impl.py:126
↓ 1 callersFunction_natural_simpler_chars
Return single-char replacements for ``c`` derived from natural text transformations - case mapping (upper, lower, casefold) and unicode decomp
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:98
↓ 1 callersFunction_networks
(bits)
hypothesis/src/hypothesis/strategies/_internal/types.py:855
↓ 1 callersMethod_new_name
(self, target)
hypothesis/src/hypothesis/stateful.py:363
↓ 1 callersMethod_node_program
(self, chooser, program)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1368
↓ 1 callersFunction_normalize_code
(f, l)
hypothesis/src/hypothesis/internal/lambda_sources.py:112
↓ 1 callersFunction_p_continue_to_avg
Return the average_size generated by this p_continue and max_size.
hypothesis/src/hypothesis/internal/conjecture/utils.py:420
↓ 1 callersFunction_parameters_to_annotation_name
( parameters: Iterable[Any] | None, imports: ImportSet )
hypothesis/src/hypothesis/extra/ghostwriter.py:922
↓ 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:1104
↓ 1 callersMethod_prepare_for_io
(self)
hypothesis/src/hypothesis/database.py:945
↓ 1 callersMethod_pretty_print
(self, value)
hypothesis/src/hypothesis/stateful.py:344
↓ 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:266
↓ 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:950
↓ 1 callersFunction_render_constraints
(show: Mapping[str, object], other: Mapping[str, object])
hypothesis/src/hypothesis/errors.py:100
↓ 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:629
↓ 1 callersMethod_repr_step
(self, rule: "Rule", data: Any, result: Any)
hypothesis/src/hypothesis/stateful.py:417
↓ 1 callersMethod_run
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1630
↓ 1 callersMethod_run_optimise_pass
Run one optimisation pass, then schedule the next one.
hypothesis/src/hypothesis/internal/conjecture/engine.py:1551
↓ 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:1174
↓ 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:1615
↓ 1 callersFunction_sort_key
(path: str, lineno: int)
hypothesis/src/hypothesis/internal/scrutineer.py:279
↓ 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:327
↓ 1 callersFunction_stdlib_dirs
()
hypothesis/src/hypothesis/internal/scrutineer.py:238
↓ 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:517
↓ 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_timezone_strategy
(tz)
hypothesis/src/hypothesis/strategies/_internal/types.py:483
↓ 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:501
↓ 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:619
↓ 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:889
↓ 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
← previousnext →901–1,000 of 6,609, ranked by callers