MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

↓ 1 callersFunctionbreadth
(x)
hypothesis/tests/nocover/test_recursive.py:57
↓ 1 callersFunctionbuilds_ignoring_invalid
(target, *args, **kwargs)
hypothesis/tests/nocover/test_pretty_repr.py:35
↓ 1 callersFunctionbyte_string_dtypes
Return a strategy for generating bytestring dtypes, of various lengths and byteorder. While Hypothesis' string strategies can generate empty
hypothesis/src/hypothesis/extra/numpy.py:960
↓ 1 callersFunctionc
(e,n,t)
website/theme/static/prism.js:3
↓ 1 callersMethodcalc_label
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:591
↓ 1 callersMethodcall_target
(self)
hypothesis/tests/cover/test_settings.py:332
↓ 1 callersMethodcapped
(self, max_templates: int)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:84
↓ 1 callersFunctionchangelog
()
tooling/src/hypothesistooling/release.py:264
↓ 1 callersFunctionchars_not_in_alphabet
(alphabet: SearchStrategy | None, string: str)
hypothesis/src/hypothesis/strategies/_internal/regex.py:107
↓ 1 callersFunctioncharset
(draw)
hypothesis/tests/nocover/test_regex.py:25
↓ 1 callersFunctioncheck
(name)
hypothesis/src/hypothesis/internal/coverage.py:101
↓ 1 callersFunctioncheck_artifact_versions
(*, expected_version)
tooling/src/hypothesistooling/release.py:268
↓ 1 callersMethodcheck_calls
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:390
↓ 1 callersFunctioncheck_explicit
(name)
hypothesis/src/hypothesis/extra/lark.py:215
↓ 1 callersMethodcheck_invariants
( self, settings: Settings, output: Callable[[str], object], runtimes: dict[st
hypothesis/src/hypothesis/stateful.py:512
↓ 1 callersMethodcheck_invariants
Make appropriate assertions about the value to ensure that it is valid for this shrinker. Does nothing by default.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:157
↓ 1 callersFunctioncheck_not_changed
()
tooling/src/hypothesistooling/__main__.py:384
↓ 1 callersFunctioncheck_requirements
()
tooling/src/hypothesistooling/__main__.py:757
↓ 1 callersFunctioncheck_strategy_
(*args)
hypothesis/tests/cover/test_validation.py:266
↓ 1 callersFunctioncheck_type_
(*args)
hypothesis/tests/cover/test_validation.py:256
↓ 1 callersFunctioncheck_valid_identifier
(identifier: str)
hypothesis/src/hypothesis/internal/reflection.py:347
↓ 1 callersFunctioncheck_valid_magnitude
Checks that value is either unspecified, or a non-negative valid interval bound. Otherwise raises InvalidArgument.
hypothesis/src/hypothesis/internal/validation.py:66
↓ 1 callersFunctioncheck_valid_minmax
(prefix, val, info_obj)
hypothesis/src/hypothesis/extra/array_api.py:211
↓ 1 callersMethodclean_inputs
( minimum: int, maximum: int, value: int | None, variable_name: str )
hypothesis/src/hypothesis/provisional.py:67
↓ 1 callersFunctionclear_cache_after_draw
(draw, base_strategy)
hypothesis/src/hypothesis/strategies/_internal/regex.py:100
↓ 1 callersMethodclear_call_explanation
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:394
↓ 1 callersMethodclear_database
(self)
hypothesis/tests/nocover/test_strategy_state.py:53
↓ 1 callersMethodclear_listeners
(self)
hypothesis/tests/cover/test_database_backend.py:636
↓ 1 callersFunctioncollection_index
( choice: Sequence[T], *, min_size: int, alphabet_size: int, to_order: Callable[[T], int],
hypothesis/src/hypothesis/internal/conjecture/choice.py:241
↓ 1 callersFunctioncollection_value
( index: int, *, min_size: int, alphabet_size: int, from_order: Callable[[int], T], )
hypothesis/src/hypothesis/internal/conjecture/choice.py:270
↓ 1 callersFunctioncolumn_strategy
(draw)
hypothesis/tests/pandas/test_data_frame.py:167
↓ 1 callersFunctioncommit_pending_release
Create a commit with the new release.
tooling/src/hypothesistooling/release.py:112
↓ 1 callersFunctioncomp_to_constraints
(x: ast.AST, op: ast.AST, y: ast.AST, *, argname: str)
hypothesis/src/hypothesis/internal/filtering.py:99
↓ 1 callersFunctioncompat_kw
Update default args to the strategy with user-supplied keyword args.
hypothesis/src/hypothesis/extra/numpy.py:168
↓ 1 callersFunctioncomplex_number_dtypes
( *, endianness: str = "?", sizes: Literal[64], )
hypothesis/src/hypothesis/extra/numpy.py:856
↓ 1 callersFunctioncompute_sampler_table
(weights: tuple[float, ...])
hypothesis/src/hypothesis/internal/conjecture/utils.py:127
↓ 1 callersMethodconclude_test
Says that ``status`` occurred at node ``node``. This updates the node if necessary and checks for consistency.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1152
↓ 1 callersFunctionconfigure_git
()
tooling/src/hypothesistooling/git.py:78
↓ 1 callersFunctionconservative_regex
(draw)
hypothesis/tests/nocover/test_regex.py:38
↓ 1 callersMethodconsider_new_data
Consider a new data object as a candidate target. If it is better than the current one, return True.
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:62
↓ 1 callersFunctionconstrained_complex
(draw)
hypothesis/src/hypothesis/strategies/_internal/core.py:2279
↓ 1 callersFunctionconvert_lines
()
whole_repo_tests/types/test_mypy.py:114
↓ 1 callersFunctioncoro_decorator
(f)
hypothesis/tests/cover/test_asyncio.py:28
↓ 1 callersFunctioncounts_calls
A decorator that counts how many times a function was called, and stores that value in a ``.calls`` attribute.
hypothesis/tests/common/utils.py:162
↓ 1 callersFunctioncreate_github_release
()
tooling/src/hypothesistooling/release.py:303
↓ 1 callersFunctioncreate_tag
(tagname)
tooling/src/hypothesistooling/git.py:83
↓ 1 callersFunctionctx
Return a context in which this value is lossless.
hypothesis/src/hypothesis/strategies/_internal/core.py:1907
↓ 1 callersFunctioncurrent_reporter
()
hypothesis/src/hypothesis/reporting.py:31
↓ 1 callersFunctiondata
Provides an object ``data`` with a ``data.draw`` function which acts like the ``draw`` callable provided by |st.composite|, in that it can be
hypothesis/src/hypothesis/strategies/_internal/core.py:2492
↓ 1 callersFunctiondata_lines
(raw)
tooling/src/hypothesistooling/__main__.py:703
↓ 1 callersFunctiondataclass_asdict
A vendored variant of dataclasses.asdict. Includes the bugfix for defaultdicts (cpython/32056) for all versions. See also issues/3812
hypothesis/src/hypothesis/internal/compat.py:237
↓ 1 callersFunctiondatetime64_dtypes
Return a strategy for datetime64 dtypes, with various precisions from year to attosecond.
hypothesis/src/hypothesis/extra/numpy.py:932
↓ 1 callersMethoddebug
(self, msg: str)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:435
↓ 1 callersFunctiondecode
(table: list[tuple[int, str]])
hypothesis/tests/quality/test_shrink_quality.py:485
↓ 1 callersFunctiondecode_exponent
Take an integer and turn it into a suitable floating point exponent such that lexicographically simpler leads to simpler floats.
hypothesis/src/hypothesis/internal/conjecture/floats.py:101
↓ 1 callersMethoddecompress
(self, value)
hypothesis/tests/django/toystore/forms.py:196
↓ 1 callersFunctiondefine_copy_method
(name)
hypothesis/src/hypothesis/strategies/_internal/random.py:126
↓ 1 callersFunctiondefine_method_strategy
(name, **kwargs)
hypothesis/tests/cover/test_randoms.py:50
↓ 1 callersFunctiondefine_test
(specifier, predicate, condition=None, p=0.5, suppress_health_check=())
hypothesis/tests/quality/test_discovery_ability.py:52
↓ 1 callersMethoddelegate
Delegates shrinking to another shrinker class, by converting the current value to and from it with provided functions.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:59
↓ 1 callersMethoddelete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:397
↓ 1 callersMethoddelete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1218
↓ 1 callersMethoddescribe
(self, settings: Settings)
hypothesis/src/hypothesis/internal/conjecture/engine.py:182
↓ 1 callersFunctiondescribe_close_matches
( module_or_class: types.ModuleType, objname: str )
hypothesis/src/hypothesis/extra/cli.py:109
↓ 1 callersFunctiondiscard_frozen
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:22
↓ 1 callersFunctiondiscard_multiple_frozen
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:36
↓ 1 callersFunctiondistinct_integers
(draw)
hypothesis/tests/numpy/test_fill_values.py:23
↓ 1 callersFunctiondistorted_value
(x)
hypothesis/tests/quality/test_discovery_ability.py:197
↓ 1 callersFunctiondiv_subterms
(e)
hypothesis/tests/quality/test_shrink_quality.py:409
↓ 1 callersMethoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/extra/lark.py:172
↓ 1 callersMethoddo_draw
(self, data)
hypothesis/tests/common/strategies.py:17
↓ 1 callersMethoddo_filtered_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:830
↓ 1 callersFunctiondo_it_all
(l, a, x, data)
hypothesis/tests/cover/test_observability.py:92
↓ 1 callersFunctiondo_publish
()
tooling/src/hypothesistooling/__main__.py:162
↓ 1 callersMethoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:594
↓ 1 callersFunctiondocumentation
()
tooling/src/hypothesistooling/__main__.py:762
↓ 1 callersMethoddowngrade_choices
(self, choices: Sequence[ChoiceT])
hypothesis/src/hypothesis/internal/conjecture/engine.py:955
↓ 1 callersMethoddraw_aware_datetime
(self, data, tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:560
↓ 1 callersMethoddraw_boolean
( self, p: float = 0.5, )
hypothesis/src/hypothesis/internal/conjecture/providers.py:822
↓ 1 callersMethoddraw_boolean
(self, p=0.5)
hypothesis/tests/nocover/test_provider_conformance.py:131
↓ 1 callersMethoddraw_bytes
( self, min_size: int = 0, max_size: int = COLLECTION_DEFAULT_MAX_SIZE, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:1074
↓ 1 callersMethoddraw_float
( self, value: float, *, constraints: FloatConstraints, was_forced: bool )
hypothesis/src/hypothesis/internal/conjecture/data.py:625
↓ 1 callersMethoddraw_integer
( self, min_value: int | None = None, max_value: int | None = None, *,
hypothesis/src/hypothesis/internal/conjecture/providers.py:1159
↓ 1 callersMethoddraw_integer
(self, value: int, *, was_forced: bool, constraints: dict)
hypothesis/tests/conjecture/test_test_data.py:204
↓ 1 callersFunctiondraw_list
(data)
hypothesis/tests/conjecture/test_engine.py:186
↓ 1 callersMethoddraw_naive_datetime
(self, data, tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:620
↓ 1 callersMethoddraw_tricky_datetime
Draw a tricky datetime using the interesting instants.
hypothesis/src/hypothesis/strategies/_internal/datetime.py:515
↓ 1 callersFunctiondrawn_values
(draw, choice_type, constraints)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:548
↓ 1 callersMethoddst
(self, value)
hypothesis/tests/cover/test_datetimes.py:412
↓ 1 callersFunctioned
(f, *args)
hypothesis/tests/cover/test_reflection.py:223
↓ 1 callersFunctioneinlabels
(labels)
hypothesis/tests/numpy/test_gufunc.py:137
↓ 1 callersFunctionemails
A strategy for generating email addresses as unicode strings. The address format is specified in :rfc:`5322#section-3.4.1`. Values shrink towa
hypothesis/src/hypothesis/strategies/_internal/core.py:2681
↓ 1 callersFunctionencode
(s: str)
hypothesis/tests/quality/test_shrink_quality.py:491
↓ 1 callersFunctionencode_exponent
Take a floating point exponent and turn it back into the equivalent result from conjecture.
hypothesis/src/hypothesis/internal/conjecture/floats.py:108
↓ 1 callersFunctionensure_python
(version)
tooling/src/hypothesistooling/installers.py:53
↓ 1 callersFunctionensure_rustup
()
tooling/src/hypothesistooling/installers.py:63
↓ 1 callersFunctionensure_stack
()
tooling/src/hypothesistooling/installers.py:91
↓ 1 callersFunctionequivalent
Write source code for a property-based test of ``funcs``. The resulting test checks that calling each of the functions returns an equal value
hypothesis/src/hypothesis/extra/ghostwriter.py:1641
↓ 1 callersFunctionevaluate
(e)
hypothesis/tests/quality/test_shrink_quality.py:416
↓ 1 callersFunctionevaluate_type_alias_type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:341
← previousnext →1,101–1,200 of 6,838, ranked by callers