MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

Functionadd
(a: float, b: float)
hypothesis/tests/ghostwriter/test_expected_output.py:90
Methodadd_a
(self, a)
hypothesis/tests/nocover/test_stateful.py:290
Methodadd_category
Update unicode state to match sre_parse object ``category``.
hypothesis/src/hypothesis/strategies/_internal/regex.py:170
Functionadd_custom_classes
(c1: CustomClass, c2: CustomClass | None = None)
hypothesis/tests/ghostwriter/example_code/future_annotations.py:21
Methodadd_one
(self)
hypothesis/tests/cover/test_stateful.py:76
Methodadd_shape
(loop, core)
hypothesis/src/hypothesis/extra/_array_helpers.py:536
Functionaddx
(x, y)
hypothesis/tests/cover/test_fuzz_one_input.py:115
Functionaddy
(x, y)
hypothesis/tests/cover/test_fuzz_one_input.py:119
Methodadjust_float
(self, source, offset)
hypothesis/tests/nocover/test_strategy_state.py:111
Methodagree_on_values
(self, i)
hypothesis/tests/nocover/test_conjecture_int_list.py:51
Functionalias_fun
(thing: _Alias)
hypothesis/tests/cover/test_type_lookup_forward_ref.py:63
Functionall_filtered
(chooser)
hypothesis/tests/conjecture/test_choice_tree.py:66
Methodallow_transition
Shrink to data that strictly pareto dominates the current best value we've seen, which is the current target of the sh
hypothesis/src/hypothesis/internal/conjecture/pareto.py:332
Functionallow_unknown_lambdas
(monkeypatch)
hypothesis/tests/conftest.py:123
Functionalways_imported_modules
()
hypothesis/src/_hypothesis_ftz_detector.py:69
Functionalways_passes
Stand-in for a fixed version of an inner test. For example, pytest-trio would take the inner test, wrap it in an async-to-sync converter, and
hypothesis/tests/nocover/test_modify_inner_test.py:19
Methodan_invariant
(self)
hypothesis/tests/cover/test_stateful.py:587
Functionannotated_any
(x: Any)
hypothesis/tests/ghostwriter/test_ghostwriter.py:119
Functionannotated_func
(a: int, b: int = 2, *, c: int, d: int = 4)
hypothesis/tests/cover/test_lookup.py:432
Methodanother_invariant
(self)
hypothesis/tests/cover/test_stateful.py:592
Functionany_call
(draw)
hypothesis/tests/cover/test_randoms.py:122
Methodappend_choice
(choice_type: ChoiceTypeT, choice: ChoiceT)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:713
Functionarg_decorator
(*s)
hypothesis/tests/cover/test_lambda_formatting.py:225
Functionarg_more_than_ten
(x: MoreThanTenInt)
hypothesis/tests/cover/test_lookup_py39.py:58
Functionarg_positive
(x: PositiveInt)
hypothesis/tests/cover/test_lookup_py39.py:54
Functionarrays
( dtype: DataType | str | st.SearchStrategy[DataType] | st.SearchStrategy[str], shape: int | S
hypothesis/src/hypothesis/extra/array_api.py:945
Methodas_result
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:593
Functionast_arguments_matches_signature
(args: ast.arguments, sig: Signature)
hypothesis/src/hypothesis/internal/reflection.py:240
Methodattempt_replace
Try replacing the current node in the current best test case with a value which is "k times larger", where the exact
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:112
Methodbackend
.. warning:: EXPERIMENTAL AND UNSTABLE - see :ref:`alternative-backends`. The importable name of a backend which Hypoth
hypothesis/src/hypothesis/_settings.py:1021
Functionbad
(x)
hypothesis/tests/nocover/test_find.py:54
Methodbad_invariant_a
(self)
hypothesis/tests/nocover/test_stateful.py:258
Methodbad_invariant_b
(self)
hypothesis/tests/nocover/test_stateful.py:264
Methodbad_invariant_c
(self)
hypothesis/tests/nocover/test_stateful.py:270
Methodbad_invariant_d
(self)
hypothesis/tests/nocover/test_stateful.py:276
Methodbad_method_a
(self, x)
hypothesis/tests/nocover/test_stateful.py:234
Methodbad_method_b
(self, x)
hypothesis/tests/nocover/test_stateful.py:240
Methodbad_method_c
(self, x)
hypothesis/tests/nocover/test_stateful.py:246
Methodbad_method_d
(self, x)
hypothesis/tests/nocover/test_stateful.py:252
Functionbad_unparse
(node)
hypothesis/tests/cover/test_lambda_inlining.py:141
Functionbar
(x)
hypothesis/tests/nocover/test_pretty_repr.py:24
Functionbar
(x)
hypothesis/tests/nocover/test_filtering.py:63
Functionbar
()
hypothesis/tests/cover/test_control.py:101
Methodbar
(self)
hypothesis/tests/cover/test_lookup.py:913
Methodbar
(cls)
hypothesis/tests/cover/test_reflection.py:172
Functionbasic_indices
( shape: Shape, *, min_dims: int = 0, max_dims: int | None = None, allow_newaxis: Literal[
hypothesis/src/hypothesis/extra/numpy.py:1123
Functionbaz
(x)
hypothesis/tests/nocover/test_pretty_repr.py:28
Methodbaz
(cls)
hypothesis/tests/cover/test_reflection.py:175
Methodbazzle
(self, y)
hypothesis/tests/cover/test_lookup_py38.py:239
Functionbinary_operation
Write property tests for the binary operation ``func``. While :wikipedia:`binary operations <Binary_operation>` are not particularly common,
hypothesis/src/hypothesis/extra/ghostwriter.py:1668
Functionboolean_constraints
(draw: DrawFn, *, use_forced: bool = False)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:306
Functionboolean_dtypes
()
hypothesis/src/hypothesis/extra/array_api.py:968
Methodboost
(k: int)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1448
Methodbranches
(self)
hypothesis/src/hypothesis/strategies/_internal/flatmapped.py:64
Methodbranches
(self)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:57
Methodbranches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:456
Methodbranches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:885
Methodbranches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1066
Methodbranches
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1262
Methodbranches
(self)
hypothesis/src/hypothesis/internal/scrutineer.py:79
Methodbranches
(self)
hypothesis/tests/nocover/test_threading.py:222
Methodbreak_the_db
(i)
hypothesis/tests/django/toystore/test_basic_configuration.py:55
Functionbroadcastable_shapes
Return a strategy for shapes that are broadcast-compatible with the provided shape. Examples from this strategy shrink towards a shape with l
hypothesis/src/hypothesis/extra/_array_helpers.py:176
Functionbroken
(*args, **kwargs)
hypothesis/tests/cover/test_charmap.py:174
Functionbroken_mkstemp
(dir)
hypothesis/tests/cover/test_charmap.py:206
Functionbuild
(x)
hypothesis/tests/cover/test_flakiness.py:210
Functionbuild_intervals
(intervals: list[int])
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:43
Methodbunch
(self, source)
hypothesis/tests/nocover/test_stateful.py:106
Methodbunch
(self, source)
hypothesis/tests/cover/test_stateful.py:136
Methodbundle_length
(self)
hypothesis/tests/cover/test_stateful.py:225
Methodbundle_length
(self)
hypothesis/tests/cover/test_stateful.py:266
Methodbye
(self, v)
hypothesis/tests/nocover/test_stateful.py:133
Methodbye
(self, hi)
hypothesis/tests/cover/test_stateful.py:384
Functionbytes_constraints
( draw: DrawFn, *, use_min_size: bool | None = None, use_max_size: bool | None = None, use
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:228
Methodcache
(self)
hypothesis/src/hypothesis/internal/cache.py:319
Functioncacheable
(fn: T)
hypothesis/src/hypothesis/strategies/_internal/utils.py:46
Methodcached
(self, *keys)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:367
Methodcached_calculations
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:364
Functioncached_strategy
(*args, **kwargs)
hypothesis/src/hypothesis/strategies/_internal/utils.py:51
Methodcalc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/misc.py:101
Methodcalc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:76
Methodcalc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:93
Methodcalc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/collections.py:70
Methodcalc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:307
Methodcalc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:703
Methodcalc_has_reusable_values
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:828
Methodcalc_has_reusable_values
(self, recur)
hypothesis/src/hypothesis/extra/lark.py:194
Methodcalc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/misc.py:57
Methodcalc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:96
Methodcalc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:295
Methodcalc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:710
Methodcalc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:831
Methodcalc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1034
Methodcalc_is_cacheable
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1164
Methodcalc_is_empty
(self, recur)
hypothesis/src/hypothesis/stateful.py:628
Methodcalc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/misc.py:93
Methodcalc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/flatmapped.py:40
Methodcalc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:73
Methodcalc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:90
Methodcalc_is_empty
(self, recur: RecurT)
hypothesis/src/hypothesis/strategies/_internal/functions.py:34
← previousnext →2,001–2,100 of 6,164, ranked by callers