MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

↓ 5 callersFunctionstrat
(draw, arg)
hypothesis/tests/cover/test_composite.py:139
↓ 5 callersFunctionstructural_coverage
(label: int)
hypothesis/src/hypothesis/internal/conjecture/data.py:131
↓ 5 callersFunctiontest
(x)
hypothesis/tests/nocover/test_health_checks.py:34
↓ 5 callersFunctiontest
(x)
hypothesis/tests/cover/test_health_checks.py:39
↓ 5 callersFunctiontest
()
hypothesis/tests/cover/test_validation.py:74
↓ 5 callersFunctionverbose_report
(text: str)
hypothesis/src/hypothesis/reporting.py:44
↓ 5 callersFunctionwait_for
(condition, *, timeout=1, interval=0.01)
hypothesis/tests/common/utils.py:327
↓ 4 callersMethod__balance
When we have made a modification to the heap such that the heap property has been violated locally around i but previously held for al
hypothesis/src/hypothesis/internal/cache.py:229
↓ 4 callersMethod__init__
(self)
hypothesis/src/hypothesis/strategies/_internal/core.py:2020
↓ 4 callersMethod__init__
(self, strategies: Sequence[SearchStrategy[Ex]])
hypothesis/src/hypothesis/strategies/_internal/strategies.py:818
↓ 4 callersMethod__init__
(self)
hypothesis/tests/nocover/test_stateful.py:162
↓ 4 callersMethod__not_a_first_class_strategy
(self, name: str)
hypothesis/src/hypothesis/strategies/_internal/core.py:2429
↓ 4 callersMethod_cache_key
(self, choices: Sequence[ChoiceT])
hypothesis/src/hypothesis/internal/conjecture/engine.py:446
↓ 4 callersFunction_database_conforms_to_listener_api
( create_db, *, flush=None, supports_value_delete=True, parent_settings=None, )
hypothesis/tests/cover/test_database_backend.py:556
↓ 4 callersFunction_from_hashable_type
(type_)
hypothesis/src/hypothesis/strategies/_internal/types.py:1086
↓ 4 callersFunction_function_key
Returns a digest that differentiates functions that have different sources. Either a function or a code object may be passed. If code object, def
hypothesis/src/hypothesis/internal/lambda_sources.py:68
↓ 4 callersFunction_is_probably_ufunc
(obj)
hypothesis/src/hypothesis/extra/ghostwriter.py:1102
↓ 4 callersMethod_maybe_draw_constant
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/providers.py:769
↓ 4 callersMethod_pipeline
( self, *reset_expire_keys, execute_and_publish=True, event_type=None,
hypothesis/src/hypothesis/extra/redis.py:69
↓ 4 callersFunction_union_intervals
(x, y)
hypothesis/tests/cover/test_charmap.py:131
↓ 4 callersFunctionall_values
(db)
hypothesis/tests/common/utils.py:146
↓ 4 callersFunctionbase_regex_strategy
( regex: Pattern[AnyStr], *, parsed: sre_parse.SubPattern | None = None, alphabet: SearchStrat
hypothesis/src/hypothesis/strategies/_internal/regex.py:238
↓ 4 callersFunctionbase_report
(text: str)
hypothesis/src/hypothesis/reporting.py:59
↓ 4 callersFunctioncapture_reports
(test)
hypothesis/tests/cover/test_slippage.py:28
↓ 4 callersFunctioncategories
Return a tuple of Unicode categories in a normalised order. >>> categories() # doctest: +ELLIPSIS ('Zl', 'Zp', 'Co', 'Me', 'Pc', ..., 'Cc', '
hypothesis/src/hypothesis/internal/charmap.py:184
↓ 4 callersMethodchar_in_shrink_order
(self, i: int)
hypothesis/src/hypothesis/internal/intervalsets.py:268
↓ 4 callersFunctioncheck_dtypes
(xp: Any, dtypes: list[DataType], stubs: list[str])
hypothesis/src/hypothesis/extra/array_api.py:581
↓ 4 callersFunctioncheck_sideeffect_during_initialization
Called from locations that should not be executed during initialization, for example touching disk or materializing lazy/deferred strategies from
hypothesis/src/hypothesis/configuration.py:78
↓ 4 callersFunctioncheck_valid_sizes
( category: str, sizes: Sequence[int], valid_sizes: Sequence[int] )
hypothesis/src/hypothesis/extra/array_api.py:628
↓ 4 callersFunctioncheck_valid_sizes
(min_size, max_size)
hypothesis/src/hypothesis/internal/validation.py:124
↓ 4 callersFunctionchoice_constraints_key
( choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT )
hypothesis/src/hypothesis/internal/conjecture/choice.py:594
↓ 4 callersFunctionchoice_key
(choice: ChoiceT)
hypothesis/src/hypothesis/internal/conjecture/choice.py:568
↓ 4 callersMethodclear_secondary_key
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1653
↓ 4 callersFunctionconstants_from_ast
(tree)
hypothesis/tests/cover/test_constants_ast.py:49
↓ 4 callersFunctionconstants_from_module
(module: ModuleType, *, limit: bool = True)
hypothesis/src/hypothesis/internal/constants_ast.py:197
↓ 4 callersFunctiondecode_failure
(blob: bytes)
hypothesis/src/hypothesis/core.py:428
↓ 4 callersMethoddelete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:550
↓ 4 callersFunctiondeterministic_PRNG
Context manager that handles random.seed without polluting global state. See issue #1266 and PR #1295 for details and motivation - in short,
hypothesis/src/hypothesis/internal/entropy.py:244
↓ 4 callersMethoddifference
Set difference for lists of intervals. That is, returns a list of intervals that bounds all values bounded by x that are not also bounded by
hypothesis/src/hypothesis/internal/intervalsets.py:171
↓ 4 callersMethoddo_draw
(self, data)
hypothesis/tests/cover/test_direct_strategies.py:527
↓ 4 callersFunctiondomains
Generate :rfc:`1035` compliant fully qualified domain names.
hypothesis/src/hypothesis/provisional.py:154
↓ 4 callersFunctiondominance
Returns the dominance relation between ``left`` and ``right``, according to the rules that one ConjectureResult dominates another if and only if i
hypothesis/src/hypothesis/internal/conjecture/pareto.py:41
↓ 4 callersMethodexecute_once
Run the test function once, using ``data`` as input. If the test raises an exception, it will propagate through to the caller of this
hypothesis/src/hypothesis/core.py:975
↓ 4 callersMethodfetch
(self, key: bytes)
hypothesis/src/hypothesis/extra/redis.py:102
↓ 4 callersMethodfilter
( self, condition: Callable[[Ex], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:901
↓ 4 callersFunctionfind_castable_builtin_for_dtype
Returns builtin type which can have values that are castable to the given dtype, according to :xp-ref:`type promotion rules <type_promotion.html>`
hypothesis/src/hypothesis/extra/array_api.py:114
↓ 4 callersMethodflatmap
(self, f)
hypothesis/src/hypothesis/strategies/_internal/core.py:2423
↓ 4 callersFunctionfloat_of
(x: SupportsFloat, width: Width)
hypothesis/src/hypothesis/internal/floats.py:44
↓ 4 callersMethodfreeze
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:1304
↓ 4 callersMethodfrom_string
Return a tuple of intervals, covering the codepoints of characters in `s`. >>> IntervalSet.from_string('abcdef0123456789') ((48, 57),
hypothesis/src/hypothesis/internal/intervalsets.py:37
↓ 4 callersMethodgenerate_new_examples
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1161
↓ 4 callersFunctiongit
(*args)
tooling/src/hypothesistooling/git.py:71
↓ 4 callersMethodgive_me_an_int
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:32
↓ 4 callersFunctionint_to_bytes
(i: int, size: int)
hypothesis/src/hypothesis/internal/compat.py:103
↓ 4 callersFunctionis_a_type
Return True if thing is a type or a typing-like thing (union, generic type, etc).
hypothesis/src/hypothesis/strategies/_internal/types.py:383
↓ 4 callersFunctionis_a_union
Return True if thing is a typing.Union or types.UnionType (in py310).
hypothesis/src/hypothesis/strategies/_internal/types.py:378
↓ 4 callersFunctionis_mock
Determine if the given argument is a mock type.
hypothesis/src/hypothesis/internal/reflection.py:44
↓ 4 callersMethodlower_common_node_offset
Sometimes we find ourselves in a situation where changes to one part of the choice sequence unlock changes to other parts. Sometimes this is
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1023
↓ 4 callersFunctionmake_float_clamper
Return a function that clamps positive floats into the given bounds.
hypothesis/src/hypothesis/internal/floats.py:138
↓ 4 callersFunctionmake_patch
Create a patch for (fname, before, after) triples.
hypothesis/src/hypothesis/extra/_patching.py:294
↓ 4 callersFunctionmake_testcase
( *, run_start: float, property: str, data: "ConjectureData", how_generated: str, repr
hypothesis/src/hypothesis/internal/observability.py:393
↓ 4 callersMethodmark_overrun
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:1354
↓ 4 callersMethodmove
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:532
↓ 4 callersMethodmove
(self, k1, k2, v)
hypothesis/tests/cover/test_database_backend.py:661
↓ 4 callersMethodnew_conjecture_data
( self, prefix: Sequence[ChoiceT | ChoiceTemplate], *, observer: DataObserver
hypothesis/src/hypothesis/internal/conjecture/engine.py:1580
↓ 4 callersFunctionnumeric_dtype_names
(base_name: str, sizes: Sequence[int])
hypothesis/src/hypothesis/extra/array_api.py:643
↓ 4 callersFunctionone_of
( __args: Sequence[SearchStrategy[Ex]], )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:914
↓ 4 callersFunctionpermutations
Return a strategy which returns permutations of the ordered collection ``values``. Examples from this strategy shrink by trying to become clo
hypothesis/src/hypothesis/strategies/_internal/core.py:1974
↓ 4 callersFunctionreinterpret_bits
(x: float | int, from_: str, to: str)
hypothesis/src/hypothesis/internal/floats.py:38
↓ 4 callersFunctionreplace_all
Substitute multiple replacement values into a list. Replacements is a list of (start, end, value) triples.
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:41
↓ 4 callersFunctionresolve_Dict
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1105
↓ 4 callersFunctionrun_validate_branch_check
(tmp_path, *, check, **kwargs)
whole_repo_tests/whole_repo/test_validate_branch_check.py:27
↓ 4 callersMethodsave_choices
( self, choices: Sequence[ChoiceT], sub_key: bytes | None = None )
hypothesis/src/hypothesis/internal/conjecture/engine.py:917
↓ 4 callersFunctionscalar_dtypes
Return a strategy that can return any non-flexible scalar dtype.
hypothesis/src/hypothesis/extra/numpy.py:616
↓ 4 callersFunctionselect
(*args)
hypothesis/tests/conjecture/test_choice_tree.py:21
↓ 4 callersMethodset_for_type
( self, constant_type: type[ConstantT] | ChoiceTypeT )
hypothesis/src/hypothesis/internal/constants_ast.py:49
↓ 4 callersMethodsetstate
(self, *args: Any, **kwargs: Any)
hypothesis/src/hypothesis/internal/entropy.py:34
↓ 4 callersFunctionshould_note
()
hypothesis/src/hypothesis/control.py:267
↓ 4 callersMethodshow_changed
(self)
hypothesis/src/hypothesis/_settings.py:1095
↓ 4 callersFunctionstdtr
Student's t CDF for integer df >= 1, evaluated at t. Closed-form finite sum from Abramowitz & Stegun 26.7.7-8.
hypothesis/src/hypothesis/internal/statistics.py:24
↓ 4 callersFunctiontest
(ls)
hypothesis/tests/cover/test_replay_logic.py:33
↓ 4 callersFunctiontest
(i)
hypothesis/tests/cover/test_seed_printing.py:52
↓ 4 callersMethodtest_function
(self, data: ConjectureData)
hypothesis/src/hypothesis/internal/conjecture/engine.py:531
↓ 4 callersFunctiontimezones
A strategy for :class:`python:zoneinfo.ZoneInfo` objects. If ``no_cache=True``, the generated instances are constructed using :meth:`ZoneInfo
hypothesis/src/hypothesis/strategies/_internal/datetime.py:489
↓ 4 callersMethodtrack_arg_label
(self, label: str)
hypothesis/src/hypothesis/control.py:168
↓ 4 callersFunctionwith_register_backend
(name, provider_cls)
hypothesis/src/hypothesis/internal/conjecture/providers.py:384
↓ 4 callersFunctionwrite_entries
(tmp_path, entries)
whole_repo_tests/whole_repo/test_validate_branch_check.py:22
↓ 3 callersMethod__assert_not_frozen
(self, name: str)
hypothesis/src/hypothesis/internal/conjecture/data.py:1157
↓ 3 callersMethod__exit__
(self, *args, **kwargs)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:401
↓ 3 callersMethod__init__
(self, testcounter: int)
hypothesis/src/hypothesis/errors.py:313
↓ 3 callersMethod__init__
( self, name: str, *, consume: bool = False, draw_references: bool = True )
hypothesis/src/hypothesis/stateful.py:609
↓ 3 callersMethod__init__
(self, min_value, max_value, timezones_strat)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:249
↓ 3 callersMethod__init__
( self, elements: SearchStrategy[Ex], min_size: int = 0, max_size: float | int
hypothesis/src/hypothesis/strategies/_internal/collections.py:168
↓ 3 callersMethod__init__
(self, field_count=5, **kwargs)
hypothesis/tests/django/toystore/forms.py:84
↓ 3 callersMethod__underlying_index
(self, i: int)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:248
↓ 3 callersMethod_broadcast_change
Called when a value has been either added to or deleted from a key in the underlying database store. The possible values for ``event`
hypothesis/src/hypothesis/database.py:314
↓ 3 callersFunction_callbacks
()
hypothesis/tests/cover/test_observability.py:602
↓ 3 callersFunction_choice_to_json
(choice: ChoiceT | None)
hypothesis/src/hypothesis/internal/observability.py:85
↓ 3 callersFunction_db_for_path
( path: StrPathT | UniqueIdentifier | Literal[":memory:"] | None = None, )
hypothesis/src/hypothesis/database.py:85
↓ 3 callersFunction_decode_choice
(value)
hypothesis/tests/cover/test_observability.py:390
← previousnext →301–400 of 6,164, ranked by callers