MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

↓ 1 callersMethod__setattr__
(self, name: str, value: object)
hypothesis/src/hypothesis/_settings.py:1082
↓ 1 callersMethod__stoppable_test_function
Run ``self._test_function``, but convert a ``StopTest`` exception into a normal return and avoid raising anything flaky for RecursionErrors.
hypothesis/src/hypothesis/internal/conjecture/engine.py:423
↓ 1 callersMethod__swap
(self, i: int, j: int)
hypothesis/src/hypothesis/internal/cache.py:222
↓ 1 callersMethod__tree_is_exhausted
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:420
↓ 1 callersMethod__upgrade
(self)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:169
↓ 1 callersMethod_add_results_to_targets
(self, targets, results)
hypothesis/src/hypothesis/stateful.py:447
↓ 1 callersFunction_annotate_args
( argnames: Iterable[str], funcs: Iterable[Callable], imports: ImportSet )
hypothesis/src/hypothesis/extra/ghostwriter.py:885
↓ 1 callersMethod_apply_placeholders
Expand "source" placeholder in target and return it
hypothesis/docs/_ext/hypothesis_redirects.py:159
↓ 1 callersFunction_arrays
Returns a strategy for :xp-ref:`arrays <array_object.html>`. * ``dtype`` may be a :xp-ref:`valid dtype <data_types.html>` object or name, o
hypothesis/src/hypothesis/extra/array_api.py:451
↓ 1 callersFunction_as_finite_decimal
Convert decimal bounds to decimals, carefully.
hypothesis/src/hypothesis/strategies/_internal/core.py:1797
↓ 1 callersFunction_asdict_inner
(obj, dict_factory)
hypothesis/src/hypothesis/internal/compat.py:254
↓ 1 callersFunction_benchmark_shrinks
(item: pytest.Function)
hypothesis/tests/conftest.py:298
↓ 1 callersMethod_cache
(self, data: ConjectureData)
hypothesis/src/hypothesis/internal/conjecture/engine.py:449
↓ 1 callersFunction_category_key
Return a normalised tuple of all Unicode categories that are in `include`, but not in `exclude`. If include is None then default to including
hypothesis/src/hypothesis/internal/charmap.py:234
↓ 1 callersFunction_check_exports
(_public)
hypothesis/src/hypothesis/strategies/__init__.py:119
↓ 1 callersFunction_check_is_single_character
(c: object)
hypothesis/src/hypothesis/strategies/_internal/strings.py:40
↓ 1 callersFunction_check_unknown_perfectly_aligned_lambda
(candidate)
hypothesis/src/hypothesis/internal/lambda_sources.py:304
↓ 1 callersFunction_choices_from_bytes
(buffer: bytes, /)
hypothesis/src/hypothesis/database.py:1307
↓ 1 callersFunction_clean_source
Return the source code as bytes, without decorators or comments. Because this is part of our database key, we reduce the cache invalidation r
hypothesis/src/hypothesis/internal/reflection.py:56
↓ 1 callersFunction_collection_ish_functions
()
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1108
↓ 1 callersFunction_compatible_args
Check that the args of two generic types are compatible for try_issubclass.
hypothesis/src/hypothesis/strategies/_internal/types.py:268
↓ 1 callersFunction_composite
(f)
hypothesis/src/hypothesis/strategies/_internal/core.py:2034
↓ 1 callersFunction_condition
(x)
hypothesis/tests/quality/test_discovery_ability.py:59
↓ 1 callersFunction_constraints_to_json
( choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT )
hypothesis/src/hypothesis/internal/observability.py:109
↓ 1 callersMethod_contains_wildcard
Tells whether passed argument contains wildcard characters.
hypothesis/docs/_ext/hypothesis_redirects.py:154
↓ 1 callersFunction_count_distinct_strings
(*, alphabet_size: int, min_size: int, max_size: int)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:154
↓ 1 callersMethod_create_redirect_file
Actually create a redirect file according to redirect template
hypothesis/docs/_ext/hypothesis_redirects.py:163
↓ 1 callersMethod_decode
(self, value: str)
hypothesis/src/hypothesis/extra/redis.py:99
↓ 1 callersFunction_decode_choices
(data)
hypothesis/tests/cover/test_observability.py:410
↓ 1 callersFunction_decode_constraints
(choice_type, data)
hypothesis/tests/cover/test_observability.py:426
↓ 1 callersFunction_decode_nodes
(data)
hypothesis/tests/cover/test_observability.py:414
↓ 1 callersFunction_diff_times
(old, new)
hypothesis/benchmark/graph.py:62
↓ 1 callersFunction_draw
(cd, node)
hypothesis/tests/conjecture/test_engine.py:1638
↓ 1 callersMethod_draw
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/datatree.py:880
↓ 1 callersMethod_draw_core_dimensions
(self, data)
hypothesis/src/hypothesis/extra/_array_helpers.py:546
↓ 1 callersMethod_draw_float
(self)
hypothesis/src/hypothesis/internal/conjecture/providers.py:1097
↓ 1 callersMethod_draw_from_cache
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/datatree.py:923
↓ 1 callersMethod_draw_integer_from_distribution
( self, min_value: int | None, max_value: int | None )
hypothesis/src/hypothesis/internal/conjecture/providers.py:880
↓ 1 callersMethod_draw_loop_dimensions
(self, data, use=None)
hypothesis/src/hypothesis/extra/_array_helpers.py:568
↓ 1 callersFunction_dtype_from_args
(args)
hypothesis/src/hypothesis/extra/numpy.py:1354
↓ 1 callersFunction_enc
(cdc)
hypothesis/tests/nocover/test_characters.py:43
↓ 1 callersMethod_encode
(self, value: bytes)
hypothesis/src/hypothesis/extra/redis.py:96
↓ 1 callersFunction_evaluate_type_alias_type
(thing, *, typevars)
hypothesis/src/hypothesis/strategies/_internal/types.py:306
↓ 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:499
↓ 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:656
↓ 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:1182
↓ 1 callersFunction_flat_annotated_repr_parts
(annotated_type)
hypothesis/src/hypothesis/strategies/_internal/types.py:443
↓ 1 callersFunction_flatten_group
(excgroup: BaseExceptionGroup[T])
hypothesis/src/hypothesis/core.py:857
↓ 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:225
↓ 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:2648
↓ 1 callersFunction_get_annotation_arg
(key, annotation_type)
hypothesis/src/hypothesis/strategies/_internal/core.py:1487
↓ 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:307
↓ 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:189
↓ 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:1144
↓ 1 callersFunction_get_typeddict_qualifiers
(key, annotation_type)
hypothesis/src/hypothesis/strategies/_internal/core.py:1496
↓ 1 callersFunction_gets_first_item
(fn: Callable)
hypothesis/src/hypothesis/strategies/_internal/core.py:279
↓ 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:176
↓ 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:398
↓ 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:329
↓ 1 callersFunction_imports_for_object
Return the imports for `obj`, which may be empty for e.g. lambdas
hypothesis/src/hypothesis/extra/ghostwriter.py:587
↓ 1 callersFunction_index_to_size
(index: int, alphabet_size: int)
hypothesis/src/hypothesis/internal/conjecture/choice.py:194
↓ 1 callersFunction_invalid
(message, *, exc=InvalidArgument, test, given_kwargs)
hypothesis/src/hypothesis/core.py:456
↓ 1 callersFunction_invalid_thresholds
(*, r: float, c: float)
hypothesis/src/hypothesis/internal/conjecture/engine.py:158
↓ 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:67
↓ 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:367
↓ 1 callersFunction_list_strategy_type
()
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1102
↓ 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:1735
↓ 1 callersFunction_make_equiv_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1545
↓ 1 callersFunction_make_equiv_errors_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1585
↓ 1 callersFunction_make_roundtrip_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1483
↓ 1 callersFunction_make_ufunc_body
(func, *, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1901
↓ 1 callersMethod_make_zip
(self, tree_path: Path, zip_path: Path)
hypothesis/tests/cover/test_database_backend.py:434
↓ 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:96
↓ 1 callersFunction_networks
(bits)
hypothesis/src/hypothesis/strategies/_internal/types.py:767
↓ 1 callersMethod_new_name
(self, target)
hypothesis/src/hypothesis/stateful.py:361
↓ 1 callersMethod_node_program
(self, chooser, program)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1346
↓ 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:402
← previousnext →801–900 of 6,164, ranked by callers