MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,299 in github.com/HypothesisWorks/hypothesis

↓ 2 callersFunctionzigzag_index
(value: int, *, shrink_towards: int)
hypothesis/src/hypothesis/internal/conjecture/choice.py:288
↓ 1 callersFunctionS
(n)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:188
↓ 1 callersFunction__calc_script_variables
()
tooling/src/hypothesistooling/scripts.py:47
↓ 1 callersMethod__call_node_to_example_dec
( self, node: cst.Call, via: str )
hypothesis/src/hypothesis/extra/_patching.py:111
↓ 1 callersMethod__class_getitem__
(cls, item)
hypothesis/src/hypothesis/internal/compat.py:61
↓ 1 callersMethod__convert_result
(self, method, kwargs, result)
hypothesis/src/hypothesis/strategies/_internal/random.py:195
↓ 1 callersMethod__copy__
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:407
↓ 1 callersMethod__enter__
(self)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:378
↓ 1 callersMethod__eq__
(self, other)
hypothesis/tests/cover/test_pretty.py:528
↓ 1 callersMethod__get__
(self, obj, typ=None)
hypothesis/src/hypothesis/stateful.py:89
↓ 1 callersMethod__init__
( self, parent: Optional["settings"] = None, *, # This looks pretty strange, b
hypothesis/src/hypothesis/_settings.py:660
↓ 1 callersMethod__init__
(self, strategy: SearchStrategy[T])
hypothesis/src/hypothesis/strategies/_internal/recursive.py:40
↓ 1 callersMethod__init__
( self, data: ConjectureData | None = None, enabled: Sequence[Any] = (), disab
hypothesis/src/hypothesis/strategies/_internal/featureflags.py:38
↓ 1 callersMethod__init__
( self, *, min_value: float, max_value: float, allow_nan: bool,
hypothesis/src/hypothesis/strategies/_internal/numbers.py:149
↓ 1 callersMethod__init__
(self, min_size: int, max_size: int | None)
hypothesis/src/hypothesis/strategies/_internal/strings.py:358
↓ 1 callersMethod__init__
( self, *, xp, api_version, elements_strategy, dtype, shape, fill, unique )
hypothesis/src/hypothesis/extra/array_api.py:308
↓ 1 callersMethod__init__
( self, shape, min_dims, max_dims, allow_ellipsis, allow_newax
hypothesis/src/hypothesis/extra/_array_helpers.py:640
↓ 1 callersMethod__init__
( self, *, integers: MutableSet[int] | None = None, floats: MutableSet[float]
hypothesis/src/hypothesis/internal/constants_ast.py:36
↓ 1 callersMethod__init__
(self, max_size: int)
hypothesis/src/hypothesis/internal/cache.py:313
↓ 1 callersMethod__init__
(self, max_size)
hypothesis/tests/cover/test_cache_implementation.py:79
↓ 1 callersMethod__out_of_order
Returns True if the indices i, j are in the wrong order. i must be the parent of j.
hypothesis/src/hypothesis/internal/cache.py:250
↓ 1 callersMethod__pop
(self, *, discarded: bool)
hypothesis/src/hypothesis/internal/conjecture/data.py:282
↓ 1 callersMethod__push
(self, label_index: int)
hypothesis/src/hypothesis/internal/conjecture/data.py:275
↓ 1 callersMethod__setattr__
(self, name: str, value: object)
hypothesis/src/hypothesis/_settings.py:1097
↓ 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:167
↓ 1 callersMethod_add_results_to_targets
(self, targets, results)
hypothesis/src/hypothesis/stateful.py:449
↓ 1 callersFunction_ambiguous
(value, tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:146
↓ 1 callersFunction_annotate_args
( argnames: Iterable[str], funcs: Iterable[Callable], imports: ImportSet )
hypothesis/src/hypothesis/extra/ghostwriter.py:885
↓ 1 callersFunction_annotated_types_alias_name
(alias)
hypothesis/src/hypothesis/strategies/_internal/types.py:498
↓ 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:288
↓ 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:438
↓ 1 callersFunction_decode_constraints
(choice_type, data)
hypothesis/tests/cover/test_observability.py:454
↓ 1 callersFunction_decode_nodes
(data)
hypothesis/tests/cover/test_observability.py:442
↓ 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:326
↓ 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:671
↓ 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: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
← previousnext →801–900 of 6,299, ranked by callers