MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

↓ 3 callersFunctionf
()
hypothesis/tests/cover/test_random_module.py:237
↓ 3 callersFunctionf
(x)
hypothesis/tests/cover/test_reporting.py:37
↓ 3 callersFunctionf
(u, v)
hypothesis/tests/cover/test_testdecorators.py:439
↓ 3 callersFunctionf1
(n)
hypothesis/tests/nocover/test_randomization.py:36
↓ 3 callersFunctionfailing_output
(test)
hypothesis/tests/cover/test_functions.py:258
↓ 3 callersMethodfetch
Return an iterable over all values matching this key.
hypothesis/src/hypothesis/database.py:241
↓ 3 callersMethodfetch
(self, key)
hypothesis/tests/cover/test_phases.py:64
↓ 3 callersFunctionfloat_to_lex
(f: float)
hypothesis/src/hypothesis/internal/conjecture/floats.py:193
↓ 3 callersFunctionforced_or_cached_value
(target: SearchStrategy)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:142
↓ 3 callersMethodfrom_characters_args
( cls, *, codec: str | None = None, min_codepoint: int | None = None,
hypothesis/src/hypothesis/strategies/_internal/strings.py:95
↓ 3 callersFunctionfrom_dtype
Creates a strategy which can generate any value of the given dtype. Compatible parameters are passed to the inferred strategy function while
hypothesis/src/hypothesis/extra/numpy.py:127
↓ 3 callersMethodfrom_path
(cls, path: str)
hypothesis/src/hypothesis/internal/scrutineer.py:264
↓ 3 callersFunctionfrozensets
This is identical to the sets function but instead returns frozensets.
hypothesis/src/hypothesis/strategies/_internal/core.py:454
↓ 3 callersFunctiongc_collect
()
hypothesis/tests/cover/test_random_module.py:34
↓ 3 callersFunctionget_recorded
(name, actual="")
hypothesis/tests/ghostwriter/test_expected_output.py:56
↓ 3 callersFunctionget_reports
(file_contents, *, testdir)
hypothesis/tests/nocover/test_scrutineer.py:64
↓ 3 callersFunctionhas_a_non_zero_byte
(x)
hypothesis/tests/nocover/test_database_usage.py:31
↓ 3 callersFunctionhas_release
()
tooling/src/hypothesistooling/release.py:65
↓ 3 callersMethodincorporate_test_data
Takes a ConjectureData or Overrun object updates the current shrink_target if this data represents an improvement over it.
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:423
↓ 3 callersMethodindex_above
(self, value: int)
hypothesis/src/hypothesis/internal/intervalsets.py:109
↓ 3 callersMethodindex_from_char_in_shrink_order
Inverse of char_in_shrink_order.
hypothesis/src/hypothesis/internal/intervalsets.py:289
↓ 3 callersMethodinitial_coarse_reduction
Performs some preliminary reductions that should not be repeated as part of the main shrink passes. The main reason why these can't b
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:720
↓ 3 callersFunctioninner
( unresolved: OnlyAvailableToTypeCheckers, known: int, value: int )
hypothesis/tests/cover/test_annotations.py:37
↓ 3 callersFunctionis_annotated_type
(thing: object)
hypothesis/src/hypothesis/strategies/_internal/types.py:391
↓ 3 callersFunctionis_hashable
(value: object)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:627
↓ 3 callersFunctionis_in_ci
()
hypothesis/src/hypothesis/_settings.py:411
↓ 3 callersFunctionkey
Prefer known-FTZ modules, then top-level packages, then alphabetical.
hypothesis/src/_hypothesis_ftz_detector.py:107
↓ 3 callersFunctionlex_to_float
(i: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:176
↓ 3 callersMethodmark_changed
(self, i)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1132
↓ 3 callersFunctionnodes_to_json
(nodes: tuple[ChoiceNode, ...])
hypothesis/src/hypothesis/internal/observability.py:161
↓ 3 callersFunctionnon_covering_examples
(database)
hypothesis/tests/common/utils.py:156
↓ 3 callersFunctionnon_roundtrip_chars
(codec)
hypothesis/tests/nocover/test_characters.py:60
↓ 3 callersFunctionnumeric_bounds_from_validators
( field, min_value=float("-inf"), max_value=float("inf") )
hypothesis/src/hypothesis/extra/django/_fields.py:41
↓ 3 callersMethodpage_ids
All ids which exist on a (live) page, from its doctree.
hypothesis/docs/_ext/hypothesis_redirects.py:159
↓ 3 callersMethodpareto_optimise
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1634
↓ 3 callersFunctionparse_release
(contents)
whole_repo_tests/whole_repo/test_release_management.py:16
↓ 3 callersMethodper_test_case_context_manager
Returns a context manager which will be entered each time Hypothesis starts generating and executing one |test case|, and exited when
hypothesis/src/hypothesis/internal/conjecture/providers.py:582
↓ 3 callersFunctionprefix_selection_order
Select choices starting from ``prefix```, preferring to move left then wrapping around to the right.
hypothesis/src/hypothesis/internal/conjecture/shrinking/choicetree.py:18
↓ 3 callersFunctionrandom_selection_order
Select choices uniformly at random.
hypothesis/src/hypothesis/internal/conjecture/shrinking/choicetree.py:38
↓ 3 callersMethodrealize
Called whenever hypothesis requires a concrete (non-symbolic) value from a potentially symbolic value. Hypothesis will not check that
hypothesis/src/hypothesis/internal/conjecture/providers.py:599
↓ 3 callersMethodrecord_call
( self, obj: object, func: object, *, args: Sequence[object],
hypothesis/src/hypothesis/control.py:170
↓ 3 callersFunctionrecord_optimise_passes
Record runner.valid_test_cases at the start of each optimisation pass.
hypothesis/tests/conjecture/test_optimiser.py:221
↓ 3 callersFunctionrecursive
base: A strategy to start from. extend: A function which takes a strategy and returns a new strategy. min_leaves: The minimum number of elem
hypothesis/src/hypothesis/strategies/_internal/core.py:1955
↓ 3 callersFunctionrecursive_property
Handle properties which may be mutually recursive among a set of strategies. These are essentially lazily cached properties, with the ability
hypothesis/src/hypothesis/strategies/_internal/strategies.py:111
↓ 3 callersFunctionregex_strategy
( regex: AnyStr | Pattern[AnyStr], fullmatch: bool, *, alphabet: SearchStrategy | None, _t
hypothesis/src/hypothesis/strategies/_internal/regex.py:268
↓ 3 callersFunctionregister_field_strategy
Add an entry to the global field-to-strategy lookup used by :func:`~hypothesis.extra.django.from_field`. ``field_type`` must be a subtype of
hypothesis/src/hypothesis/extra/django/_fields.py:339
↓ 3 callersFunctionrequired_args
Return a set of names of required args to target that were not supplied in args or kwargs. This is used in builds() to determine which argume
hypothesis/src/hypothesis/internal/reflection.py:171
↓ 3 callersFunctionrestore_profile
()
hypothesis/tests/cover/test_settings.py:67
↓ 3 callersFunctionrude
(x)
hypothesis/tests/cover/test_flakiness.py:61
↓ 3 callersFunctionsafe_draw
Set up just enough of the Hypothesis machinery to use draw on a strategy.
hypothesis/tests/nocover/test_precise_shrinking.py:76
↓ 3 callersMethodsave
Save ``value`` under ``key``. If ``value`` is already present in ``key``, silently do nothing.
hypothesis/src/hypothesis/database.py:233
↓ 3 callersMethodsave
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:732
↓ 3 callersFunctionscheduler_state_runner
A runner in the state just after an optimisation pass has finished.
hypothesis/tests/conjecture/test_optimiser.py:259
↓ 3 callersFunctionshortlex
(s)
hypothesis/src/hypothesis/internal/conjecture/engine.py:113
↓ 3 callersFunctionskip_exceptions_to_reraise
Return a tuple of exceptions meaning 'skip this test', to re-raise. This is intended to cover most common test runners; if you would like ano
hypothesis/src/hypothesis/core.py:779
↓ 3 callersFunctionstack_depth_of_caller
Get stack size for caller's frame. From https://stackoverflow.com/a/47956089/9297601 , this is a simple but much faster alternative to `len(i
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:308
↓ 3 callersFunctionstdtrit
Inverse Student's t CDF (quantile) for integer df >= 1. df ∈ {1, 2}: closed-form analytic quantile (Shaw 2006, eq 35-36). df >= 3: bracketed
hypothesis/src/hypothesis/internal/statistics.py:63
↓ 3 callersFunctionstuff
()
hypothesis/tests/nocover/test_database_usage.py:53
↓ 3 callersMethodsub_key
(self, sub_key: bytes | None)
hypothesis/src/hypothesis/internal/conjecture/engine.py:960
↓ 3 callersFunctiontest
(seq)
hypothesis/tests/numpy/test_from_type.py:136
↓ 3 callersFunctiontest
(*, x, y)
hypothesis/tests/cover/test_lookup_py38.py:169
↓ 3 callersFunctiontest
(data)
hypothesis/tests/cover/test_arbitrary_data.py:30
↓ 3 callersFunctiontest
(x)
hypothesis/tests/cover/test_explicit_examples.py:197
↓ 3 callersFunctiontest
(x)
hypothesis/tests/cover/test_flakiness.py:144
↓ 3 callersFunctiontest_blah
(x)
hypothesis/tests/cover/test_testdecorators.py:325
↓ 3 callersFunctiontest_fails
(x, y)
hypothesis/tests/cover/test_observability.py:151
↓ 3 callersFunctiontest_it
(a, b)
hypothesis/tests/cover/test_direct_strategies.py:628
↓ 3 callersFunctiontest_not_long_str
(x)
hypothesis/tests/cover/test_explicit_examples.py:89
↓ 3 callersFunctiontool_path
(name)
tooling/src/hypothesistooling/scripts.py:62
↓ 3 callersFunctiontry_issubclass
(thing, superclass)
hypothesis/src/hypothesis/strategies/_internal/types.py:265
↓ 3 callersMethodupdate_count
(self, *, condition: bool)
hypothesis/src/hypothesis/internal/observability.py:79
↓ 3 callersFunctionvalidate_deprecation
()
hypothesis/tests/common/utils.py:119
↓ 3 callersFunctionvalues
(draw)
hypothesis/tests/conjecture/test_choice.py:624
↓ 3 callersFunctionwith_observability_callback
A simple context manager which calls |add_observability_callback| on ``f`` when it enters and |remove_observability_callback| on ``f`` when i
hypothesis/src/hypothesis/internal/observability.py:335
↓ 2 callersMethod__enter__
(self)
hypothesis/src/hypothesis/internal/conjecture/utils.py:312
↓ 2 callersMethod__entry_was_accessed
(self, i: int)
hypothesis/src/hypothesis/internal/cache.py:252
↓ 2 callersMethod__exit__
(self, exc_type: type | None, *_: object)
hypothesis/src/hypothesis/internal/conjecture/utils.py:318
↓ 2 callersMethod__init__
( self: "Bundle[VarReference]", name: str, *, consume: bool = False, d
hypothesis/src/hypothesis/stateful.py:695
↓ 2 callersMethod__init__
(self, seed, note_method_calls)
hypothesis/src/hypothesis/strategies/_internal/random.py:402
↓ 2 callersMethod__init__
(self, conjecturedata: Optional["ConjectureData"], /)
hypothesis/src/hypothesis/internal/conjecture/providers.py:1282
↓ 2 callersMethod__init__
(self, poison_chance)
hypothesis/tests/quality/test_poisoned_lists.py:26
↓ 2 callersMethod__init__
(self)
hypothesis/tests/cover/test_database_backend.py:799
↓ 2 callersFunction__python_executable
(version)
tooling/src/hypothesistooling/installers.py:44
↓ 2 callersMethod__tree_is_exhausted
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:434
↓ 2 callersMethod__update_exhausted
(self)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1196
↓ 2 callersMethod__with_transform
(self, name, f, *, location=None)
hypothesis/src/hypothesis/stateful.py:763
↓ 2 callersMethod__with_transform
(self, method, fn, *, location=None)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:145
↓ 2 callersMethod_add_constant
(self, value: object)
hypothesis/src/hypothesis/internal/constants_ast.py:114
↓ 2 callersFunction_ambiguous
(value, tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:149
↓ 2 callersFunction_any_hypothesis_option
(config)
hypothesis/src/_hypothesis_pytestplugin.py:133
↓ 2 callersMethod_archive_directory_db
(self)
hypothesis/tests/cover/test_database_backend.py:443
↓ 2 callersMethod_array_or_list
( code: str, contents: Iterable[int] )
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:118
↓ 2 callersFunction_as_naive_datetime
Bounds may be datetime subclasses such as ``pandas.Timestamp``, whose arithmetic can overflow its narrower representable range, and whose type
hypothesis/src/hypothesis/strategies/_internal/datetime.py:324
↓ 2 callersFunction_assert_conforming
(choice: Any, choice_type: ChoiceTypeT, constraints: Any)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:372
↓ 2 callersMethod_base_repr
(self)
hypothesis/src/hypothesis/stateful.py:793
↓ 2 callersFunction_boolean_dtypes
Return a strategy for just the boolean dtype object.
hypothesis/src/hypothesis/extra/array_api.py:597
↓ 2 callersFunction_calc_p_continue
Return the p_continue which will generate the desired average size.
hypothesis/src/hypothesis/internal/conjecture/utils.py:451
↓ 2 callersFunction_calling_frame_location
(frame: Any)
hypothesis/src/hypothesis/control.py:38
↓ 2 callersFunction_calling_function_location
(what: str, frame: Any)
hypothesis/src/hypothesis/control.py:33
↓ 2 callersFunction_collection_constraints
( draw: DrawFn, *, forced: Any | None, use_min_size: bool | None = None, use_max_size: boo
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:193
← previousnext →501–600 of 6,838, ranked by callers