MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

Methodis_not_too_deep
(self, check)
hypothesis/tests/nocover/test_stateful.py:98
Functionis_space
(s)
hypothesis/tests/cover/test_regex.py:55
Functionis_unicode_space
(s)
hypothesis/tests/cover/test_regex.py:59
Functionis_valid
(s)
hypothesis/tests/nocover/test_reusable_values.py:68
Functionis_word
(s)
hypothesis/tests/cover/test_regex.py:66
Functioniterables
This has the same behaviour as lists, but returns iterables instead. Some iterables cannot be indexed (e.g. sets) and some do not have a fixe
hypothesis/src/hypothesis/strategies/_internal/core.py:491
Methodjust_strategy
(self, value)
hypothesis/tests/nocover/test_strategy_state.py:145
Methodk
(self, k)
hypothesis/tests/nocover/test_database_agreement.py:42
Methodk
(self, k)
hypothesis/tests/redis/test_redis_exampledatabase.py:61
Methodk
(self, k)
hypothesis/tests/cover/test_database_backend.py:454
Methodk
(self, k)
hypothesis/tests/cover/test_database_backend.py:614
Methodk
(self, k)
hypothesis/tests/cover/test_stateful.py:840
Methodkeys_to_indices
(self)
hypothesis/src/hypothesis/internal/cache.py:79
Methodkill_branch
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:257
Functionkw
(marks=(), **kwargs)
hypothesis/tests/cover/test_subnormal_floats.py:26
Functionkwonlyargs_composites
(draw, *, kwarg1=None)
hypothesis/tests/cover/test_composite_kwonlyargs.py:19
Methodlabel
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:579
Methodlabel
A label is an opaque value that associates each span with its approximate origin, such as a particular strategy class or a particular
hypothesis/src/hypothesis/internal/conjecture/data.py:227
Methodlabel_indices
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:551
Methodladder
(self, move)
hypothesis/tests/nocover/test_stateful.py:167
Functionlarge_mostly_non_overlapping
(xs)
hypothesis/tests/quality/test_shrink_quality.py:205
Functionlast
(xs)
hypothesis/tests/cover/test_searchstrategy.py:40
Methodleaf
(self, x)
hypothesis/tests/nocover/test_stateful.py:55
Methodleave_Arg
(self, original_node: cst.Arg, updated_node: cst.Arg)
hypothesis/src/hypothesis/extra/codemods.py:100
Methodleave_Call
Convert positional to keyword arguments.
hypothesis/src/hypothesis/extra/codemods.py:174
Methodleave_FunctionDef
( self, original_node: cst.FunctionDef, updated_node: cst.FunctionDef )
hypothesis/src/hypothesis/extra/_patching.py:147
Methodleft_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:33
Methodleft_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:40
Methodleft_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:62
Methodlexes_entirely
(string: str, pattern: re.Pattern[str] = pattern)
hypothesis/src/hypothesis/extra/lark.py:99
Methodlimits
(self)
hypothesis/tests/cover/test_observability.py:511
Functionlines
(draw)
hypothesis/tests/cover/test_regressions.py:174
Functionlint
()
tooling/src/hypothesistooling/__main__.py:118
Methodlist_strategy
(self, elements)
hypothesis/tests/nocover/test_strategy_state.py:99
Functionlistener
(event)
hypothesis/tests/redis/test_redis_exampledatabase.py:122
Functionlistener
(event)
hypothesis/tests/cover/test_database_backend.py:747
Methodlistener
(event)
hypothesis/tests/cover/test_database_backend.py:594
Functionlistener1
(event)
hypothesis/tests/cover/test_database_backend.py:818
Functionlistener2
(event)
hypothesis/tests/cover/test_database_backend.py:821
Methodlists_are_equivalent
(self)
hypothesis/tests/nocover/test_conjecture_int_list.py:33
Functionlive_docs
()
tooling/src/hypothesistooling/__main__.py:795
Functionlive_website
()
tooling/src/hypothesistooling/__main__.py:787
Functionload
Required for `pluggy` to load a plugin from setuptools entrypoints.
hypothesis/src/_hypothesis_pytestplugin.py:497
Functionlogged
(f)
hypothesis/tests/cover/test_reflection.py:692
Methodlower_duplicated_characters
Select two string choices no more than 4 choices apart and simultaneously lower characters which appear in both strings. This helps c
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1544
Methodlower_integers_together
(self, chooser)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1511
Functionmagic
Guess which ghostwriters to use, for a module or collection of functions. As for all ghostwriters, the ``except_`` argument should be an :cla
hypothesis/src/hypothesis/extra/ghostwriter.py:1219
Functionmain
If `click` is not installed, tell the user to install it then exit.
hypothesis/src/hypothesis/extra/cli.py:60
Methodmake_canonical
(self, value)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:50
Functionmake_exceptions_with_cycles
()
hypothesis/tests/cover/test_escalation.py:74
Functionmake_filtered_integers
()
hypothesis/tests/cover/test_observability.py:312
Functionmake_filtered_sampled_from
()
hypothesis/tests/cover/test_observability.py:335
Methodmake_immutable
(self, value)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:26
Methodmake_immutable
(self, value)
hypothesis/src/hypothesis/internal/conjecture/shrinking/collection.py:28
Functionmake_partial_filtered_integers
()
hypothesis/tests/cover/test_observability.py:330
Functionmake_twice_filtered_integers
()
hypothesis/tests/cover/test_observability.py:319
Functionmany_examples
Helper decorator to apply the ``@example`` decorator multiple times, once for each given example.
hypothesis/tests/nocover/test_reusable_values.py:81
Methodmap
(self, pack)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:157
Methodmap
Returns a new strategy which generates a value from this one, and then returns ``pack(value)``. For example, ``integers().map(str)``
hypothesis/src/hypothesis/strategies/_internal/strategies.py:420
Methodmap
(self, pack: Callable[[Ex], T])
hypothesis/src/hypothesis/strategies/_internal/strategies.py:660
Methodmarker
(self)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:47
Functionmatch_qualname
(name: str)
hypothesis/src/hypothesis/extra/codemods.py:73
Methodmax_children
(self)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:94
Methodmax_examples
Once this many satisfying |test cases| have been considered without finding any failing test case, Hypothesis will stop looking.
hypothesis/src/hypothesis/_settings.py:757
Functionmax_len
(size: int, element: Collection[object])
hypothesis/src/hypothesis/internal/filtering.py:359
Functionmerge_dicts
( map1: collections.abc.Mapping[str, int], map2: collections.abc.Mapping[str, int] )
hypothesis/tests/ghostwriter/example_code/future_annotations.py:27
Functionmethod
(self)
hypothesis/tests/cover/test_stateful.py:625
Methodmethod
(self, a: int, b: int)
hypothesis/tests/cover/test_lookup.py:565
Methodmethod
(self, a, b)
hypothesis/tests/cover/test_reflection.py:643
Methodmethod
(self, **kwargs)
hypothesis/tests/cover/test_reflection.py:684
Functionmin_len
(size: int, element: Collection[object])
hypothesis/src/hypothesis/internal/filtering.py:363
Methodminimize_duplicated_choices
Find choices that have been duplicated in multiple places and attempt to minimize all of the duplicates simultaneously. This lets us
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1404
Methodminimize_individual_choices
Attempt to minimize each choice in sequence. This is the pass that ensures that e.g. each integer we draw is a minimum value. So it's
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1780
Methodmisaligned
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:387
Functionmissing_dot_access_fun
(thing: _MissingDotAccess)
hypothesis/tests/cover/test_type_lookup_forward_ref.py:91
Functionmissing_fun
(thing: _Missing)
hypothesis/tests/cover/test_type_lookup_forward_ref.py:113
Functionmixed_generic_func1
(obj: _FirstBase[A, str])
hypothesis/tests/nocover/test_drypython_returns.py:160
Functionmixed_generic_func2
(obj: _SecondBase[float, D])
hypothesis/tests/nocover/test_drypython_returns.py:164
Functionmock_finfo
Returns a finfo object compliant with the Array API Ensures all attributes are Python scalars and not NumPy scalars. This lets us ign
hypothesis/src/hypothesis/extra/array_api.py:1088
Functionmock_fixture
()
hypothesis/tests/pytest/test_fixtures.py:29
Functionmod2
(x)
hypothesis/tests/cover/test_filter_rewriting.py:251
Functionmodules_imported_by
Return the set of modules imported transitively by mod.
hypothesis/src/_hypothesis_ftz_detector.py:73
Methodmostly_fails
(self, d)
hypothesis/tests/cover/test_stateful.py:1207
Methodmove
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1164
Methodmove
(self, k1, k2, v)
hypothesis/tests/nocover/test_database_agreement.py:60
Methodmove
(self, k1, k2, v)
hypothesis/tests/redis/test_redis_exampledatabase.py:79
Methodmth
Indented method with existing example decorator.
hypothesis/tests/patching/callables.py:31
Methodmutator_groups
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:555
Functionmutually_broadcastable_shapes
( num_shapes: int, *, base_shape: Shape = (), min_dims: int = 0, max_dims: int | None = No
hypothesis/src/hypothesis/extra/array_api.py:741
Functionmutually_broadcastable_shapes
Return a strategy for a specified number of shapes N that are mutually-broadcastable with one another and with the provided base shape.
hypothesis/src/hypothesis/extra/_array_helpers.py:357
Functionmutually_broadcastable_shapes
( **kwargs: Any, )
hypothesis/src/hypothesis/extra/numpy.py:1075
Functionmy_integers
(draw: st.DrawFn)
hypothesis/tests/cover/test_composite.py:201
Methodmy_invariant
(self)
hypothesis/tests/nocover/test_threading.py:64
Methodmy_rule
(self, n)
hypothesis/tests/nocover/test_threading.py:60
Methodmyfunc
(self, data)
hypothesis/tests/cover/test_stateful.py:71
Functionnameless_const
(x)
hypothesis/tests/cover/test_testdecorators.py:438
Functionnarrowing_matches_half
()
hypothesis/rust/tests/embedded/internal/test_floats.rs:65
Functionnarrowing_matches_half_explicit
()
hypothesis/rust/tests/embedded/internal/test_floats.rs:106
Functionnarrowing_rounds_ties_correctly
()
hypothesis/rust/tests/embedded/internal/test_floats.rs:74
Functionnested
(chooser)
hypothesis/tests/conjecture/test_choice_tree.py:48
← previousnext →2,801–2,900 of 6,838, ranked by callers