Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,838 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,838
◇
Types & classes
772
↳
Endpoints
144
↓ 1 callers
Method
__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:290
↓ 1 callers
Method
__pop
(self, *, discarded: bool)
hypothesis/src/hypothesis/internal/conjecture/data.py:325
↓ 1 callers
Method
__push
(self, label_index: int)
hypothesis/src/hypothesis/internal/conjecture/data.py:318
↓ 1 callers
Method
__setattr__
(self, name: str, value: object)
hypothesis/src/hypothesis/_settings.py:1098
↓ 1 callers
Method
__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:437
↓ 1 callers
Method
__swap
(self, i: int, j: int)
hypothesis/src/hypothesis/internal/cache.py:262
↓ 1 callers
Method
__upgrade
(self)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:189
↓ 1 callers
Method
_add_results_to_targets
(self, targets, results)
hypothesis/src/hypothesis/stateful.py:496
↓ 1 callers
Function
_annotate_args
( argnames: Iterable[str], funcs: Iterable[Callable], imports: ImportSet )
hypothesis/src/hypothesis/extra/ghostwriter.py:901
↓ 1 callers
Function
_annotated_types_alias_name
(alias)
hypothesis/src/hypothesis/strategies/_internal/types.py:461
↓ 1 callers
Function
_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:450
↓ 1 callers
Function
_as_finite_decimal
Convert decimal bounds to decimals, carefully.
hypothesis/src/hypothesis/strategies/_internal/core.py:1821
↓ 1 callers
Function
_asdict_inner
(obj, dict_factory)
hypothesis/src/hypothesis/internal/compat.py:212
↓ 1 callers
Function
_available_iana_timezone_names
()
hypothesis/src/hypothesis/extra/dateutil.py:34
↓ 1 callers
Function
_benchmark_shrinks
(item: pytest.Function)
hypothesis/tests/conftest.py:294
↓ 1 callers
Function
_boom
(value)
hypothesis/tests/cover/test_invert.py:807
↓ 1 callers
Method
_cache
(self, data: ConjectureData)
hypothesis/src/hypothesis/internal/conjecture/engine.py:463
↓ 1 callers
Function
_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:250
↓ 1 callers
Function
_check_alphabet_elements
(alphabet: Collection[str])
hypothesis/src/hypothesis/strategies/_internal/strings.py:57
↓ 1 callers
Function
_check_exports
(_public)
hypothesis/src/hypothesis/strategies/__init__.py:119
↓ 1 callers
Method
_check_realized_draws
(self)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:884
↓ 1 callers
Method
_check_unique_keys
(self, elements: list[Any])
hypothesis/src/hypothesis/strategies/_internal/collections.py:387
↓ 1 callers
Function
_check_unknown_perfectly_aligned_lambda
(candidate)
hypothesis/src/hypothesis/internal/lambda_sources.py:316
↓ 1 callers
Function
_checkpoint
()
hypothesis/src/hypothesis/strategies/_internal/functions.py:41
↓ 1 callers
Function
_choices_from_bytes
(buffer: bytes, /)
hypothesis/src/hypothesis/database.py:1312
↓ 1 callers
Function
_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:55
↓ 1 callers
Method
_close_spans
(self)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:879
↓ 1 callers
Function
_collection_constr
(min_size=0, max_size=10)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:406
↓ 1 callers
Function
_collection_ish_functions
()
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1274
↓ 1 callers
Function
_compatible_args
Check that the args of two generic types are compatible for try_issubclass.
hypothesis/src/hypothesis/strategies/_internal/types.py:251
↓ 1 callers
Function
_composite
(f)
hypothesis/src/hypothesis/strategies/_internal/core.py:2080
↓ 1 callers
Function
_condition
(x)
hypothesis/tests/quality/test_discovery_ability.py:59
↓ 1 callers
Function
_constraints_to_json
( choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT )
hypothesis/src/hypothesis/internal/observability.py:110
↓ 1 callers
Function
_count_distinct_strings
(*, alphabet_size: int, min_size: int, max_size: int)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:154
↓ 1 callers
Method
_decode
(self, value: str)
hypothesis/src/hypothesis/extra/redis.py:99
↓ 1 callers
Function
_decode_choices
(data)
hypothesis/tests/cover/test_observability.py:608
↓ 1 callers
Function
_decode_constraints
(choice_type, data)
hypothesis/tests/cover/test_observability.py:624
↓ 1 callers
Function
_decode_nodes
(data)
hypothesis/tests/cover/test_observability.py:612
↓ 1 callers
Function
_diff_times
(old, new)
hypothesis/benchmark/graph.py:62
↓ 1 callers
Function
_draw
(cd, node)
hypothesis/tests/conjecture/test_engine.py:1638
↓ 1 callers
Method
_draw
(self, choice_type, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:896
↓ 1 callers
Method
_draw
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/datatree.py:877
↓ 1 callers
Method
_draw_core_dimensions
(self, data)
hypothesis/src/hypothesis/extra/_array_helpers.py:546
↓ 1 callers
Method
_draw_float
(self)
hypothesis/src/hypothesis/internal/conjecture/providers.py:1100
↓ 1 callers
Method
_draw_from_cache
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/datatree.py:920
↓ 1 callers
Method
_draw_integer_from_distribution
( self, min_value: int | None, max_value: int | None )
hypothesis/src/hypothesis/internal/conjecture/providers.py:884
↓ 1 callers
Method
_draw_loop_dimensions
(self, data, use=None)
hypothesis/src/hypothesis/extra/_array_helpers.py:568
↓ 1 callers
Function
_dtype_from_args
(args)
hypothesis/src/hypothesis/extra/numpy.py:1354
↓ 1 callers
Function
_enc
(cdc)
hypothesis/tests/nocover/test_characters.py:48
↓ 1 callers
Method
_encode
(self, value: bytes)
hypothesis/src/hypothesis/extra/redis.py:96
↓ 1 callers
Function
_evaluate_type_alias_type
(thing, *, typevars)
hypothesis/src/hypothesis/strategies/_internal/types.py:289
↓ 1 callers
Function
_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:202
↓ 1 callers
Method
_explain
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:504
↓ 1 callers
Method
_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:677
↓ 1 callers
Method
_fetch_artifact
(self)
hypothesis/src/hypothesis/database.py:1095
↓ 1 callers
Function
_findability_cases
()
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:410
↓ 1 callers
Method
_flaky_replay_to_failure
( self, err: FlakyReplay, context: BaseException )
hypothesis/src/hypothesis/core.py:1219
↓ 1 callers
Function
_flat_annotated_repr_parts
(annotated_type)
hypothesis/src/hypothesis/strategies/_internal/types.py:428
↓ 1 callers
Function
_flatten_group
(excgroup: BaseExceptionGroup[T])
hypothesis/src/hypothesis/core.py:864
↓ 1 callers
Function
_float_constr
(min_value=-math.inf, max_value=math.inf, *, allow_nan=True)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:397
↓ 1 callers
Function
_floats_between
(a: float, b: float)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:281
↓ 1 callers
Function
_forms_impl
Handle the nasty part of drawing a value for from_form()
hypothesis/src/hypothesis/extra/django/_impl.py:227
↓ 1 callers
Function
_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 callers
Function
_functions
(*, like, returns, pure)
hypothesis/src/hypothesis/strategies/_internal/core.py:2702
↓ 1 callers
Function
_get_annotation_arg
(key, annotation_type)
hypothesis/src/hypothesis/strategies/_internal/core.py:1510
↓ 1 callers
Method
_get_bytes
(self, url: str)
hypothesis/src/hypothesis/database.py:1046
↓ 1 callers
Function
_get_description_stack
()
hypothesis/src/hypothesis/internal/coverage.py:58
↓ 1 callers
Function
_get_exceptioninfo
()
hypothesis/src/hypothesis/internal/escalation.py:156
↓ 1 callers
Function
_get_git_repo_root
()
hypothesis/src/hypothesis/internal/scrutineer.py:307
↓ 1 callers
Function
_get_params_builtin_fn
(func: Callable)
hypothesis/src/hypothesis/extra/ghostwriter.py:435
↓ 1 callers
Function
_get_params_ufunc
(func: Callable)
hypothesis/src/hypothesis/extra/ghostwriter.py:467
↓ 1 callers
Function
_get_patch_for
( func: Any, examples: Sequence[tuple[str, str]], *, strip_via: tuple[str, ...] = (), name
hypothesis/src/hypothesis/extra/_patching.py:198
↓ 1 callers
Function
_get_platform_base_refcount
(r: Any)
hypothesis/src/hypothesis/internal/entropy.py:67
↓ 1 callers
Function
_get_provider
(backend: str)
hypothesis/src/hypothesis/internal/conjecture/engine.py:190
↓ 1 callers
Function
_get_pyright_output
(file: Path)
whole_repo_tests/types/test_pyright.py:375
↓ 1 callers
Function
_get_testable_functions
(thing: object)
hypothesis/src/hypothesis/extra/ghostwriter.py:1162
↓ 1 callers
Function
_get_typeddict_qualifiers
(key, annotation_type)
hypothesis/src/hypothesis/strategies/_internal/core.py:1519
↓ 1 callers
Function
_gets_first_item
(fn: Callable)
hypothesis/src/hypothesis/strategies/_internal/core.py:294
↓ 1 callers
Function
_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:163
↓ 1 callers
Function
_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:338
↓ 1 callers
Function
_hint_and_args
(x)
hypothesis/src/hypothesis/internal/compat.py:91
↓ 1 callers
Method
_hypothesis_do_random
(self, method, kwargs)
hypothesis/src/hypothesis/strategies/_internal/random.py:407
↓ 1 callers
Method
_hypothesis_log_random
(self, method, kwargs, result)
hypothesis/src/hypothesis/strategies/_internal/random.py:54
↓ 1 callers
Function
_identifier_characters
See https://docs.python.org/3/reference/lexical_analysis.html#identifiers
hypothesis/src/hypothesis/strategies/_internal/strings.py:423
↓ 1 callers
Function
_imports_for_object
Return the imports for `obj`, which may be empty for e.g. lambdas
hypothesis/src/hypothesis/extra/ghostwriter.py:592
↓ 1 callers
Function
_index_to_size
(index: int, alphabet_size: int)
hypothesis/src/hypothesis/internal/conjecture/choice.py:212
↓ 1 callers
Function
_inner
(*args, **kwargs)
hypothesis/tests/common/utils.py:145
↓ 1 callers
Method
_instrument_draws
(self)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:749
↓ 1 callers
Function
_integer_constr
(min_value=None, max_value=None, *, weights=None)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:388
↓ 1 callers
Function
_invalid
(message, *, exc=InvalidArgument, test, given_kwargs)
hypothesis/src/hypothesis/core.py:463
↓ 1 callers
Function
_invalid_thresholds
(*, r: float, c: float)
hypothesis/src/hypothesis/internal/conjecture/engine.py:159
↓ 1 callers
Method
_invert
(self, value: Any)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:75
↓ 1 callers
Method
_invert
(self, value: Any)
hypothesis/src/hypothesis/strategies/_internal/misc.py:66
↓ 1 callers
Method
_invert
(self, value: Any)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:954
↓ 1 callers
Function
_is_singleton
Returns True if two separately created instances of v will have the same id (due to interning).
hypothesis/src/hypothesis/stateful.py:93
↓ 1 callers
Function
_is_subnormal
(x)
hypothesis/tests/cover/test_complex_numbers.py:105
↓ 1 callers
Method
_iterate
(self)
hypothesis/src/hypothesis/internal/conjecture/utils.py:344
↓ 1 callers
Method
_key_path
(key: bytes)
hypothesis/src/hypothesis/database.py:1136
↓ 1 callers
Function
_lambda_code_matches_node
(f, node)
hypothesis/src/hypothesis/internal/lambda_sources.py:304
↓ 1 callers
Function
_lambda_description
(f, leeway=50, *, fail_if_confused_with_perfect_candidate=False)
hypothesis/src/hypothesis/internal/lambda_sources.py:322
← previous
next →
901–1,000 of 6,838, ranked by callers