MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

Methodkeys_to_indices
(self)
hypothesis/src/hypothesis/internal/cache.py:79
Methodkill_branch
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:251
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:545
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:195
Methodlabel_indices
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:476
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, updated_node)
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
Methodlimits
(self)
hypothesis/tests/cover/test_observability.py:317
Functionlint
()
tooling/src/hypothesistooling/__main__.py:107
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:745
Methodlistener
(event)
hypothesis/tests/cover/test_database_backend.py:592
Functionlistener1
(event)
hypothesis/tests/cover/test_database_backend.py:816
Functionlistener2
(event)
hypothesis/tests/cover/test_database_backend.py:819
Methodlists_are_equivalent
(self)
hypothesis/tests/nocover/test_conjecture_int_list.py:33
Functionlive_docs
()
tooling/src/hypothesistooling/__main__.py:665
Functionlive_website
()
tooling/src/hypothesistooling/__main__.py:657
Functionload
Required for `pluggy` to load a plugin from setuptools entrypoints.
hypothesis/src/_hypothesis_pytestplugin.py:491
Functionlogged
(f)
hypothesis/tests/cover/test_reflection.py:573
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:1519
Methodlower_integers_together
(self, chooser)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1486
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:1198
Functionmain
If `click` is not installed, tell the user to install it then exit.
hypothesis/src/hypothesis/extra/cli.py:60
Methodmake_canonical
(self, f)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:50
Functionmake_exceptions_with_cycles
()
hypothesis/tests/cover/test_escalation.py:75
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
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:139
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:390
Methodmap
(self, pack: Callable[[Ex], T])
hypothesis/src/hypothesis/strategies/_internal/strategies.py:608
Methodmarker
(self)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:46
Functionmatch_qualname
(name)
hypothesis/src/hypothesis/extra/codemods.py:73
Methodmax_children
(self)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:94
Methodmax_examples
Once this many satisfying examples have been considered without finding any counter-example, Hypothesis will stop looking. N
hypothesis/src/hypothesis/_settings.py:755
Functionmax_len
(size: int, element: Collection[object])
hypothesis/src/hypothesis/internal/filtering.py:359
Functionmaybe_mark
(x)
hypothesis/tests/cover/test_type_lookup.py:269
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:619
Methodmethod
(self, a: int, b: int)
hypothesis/tests/cover/test_lookup.py:574
Methodmethod
(self, a, b)
hypothesis/tests/cover/test_reflection.py:524
Methodmethod
(self, **kwargs)
hypothesis/tests/cover/test_reflection.py:565
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:1379
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:1710
Methodmisaligned
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:384
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:1089
Functionmock_fixture
()
hypothesis/tests/pytest/test_fixtures.py:29
Functionmod2
(x)
hypothesis/tests/cover/test_filter_rewriting.py:246
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:1186
Methodmove
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1159
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:480
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:742
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
(*args, **kwargs)
hypothesis/src/hypothesis/extra/numpy.py:1077
Functionmy_integers
(draw: st.DrawFn)
hypothesis/tests/cover/test_composite.py:201
Methodmy_invariant
(self)
hypothesis/tests/nocover/test_threading.py:56
Methodmy_rule
(self, n)
hypothesis/tests/nocover/test_threading.py:52
Methodmyfunc
(self, data)
hypothesis/tests/cover/test_stateful.py:65
Functionnameless_const
(x)
hypothesis/tests/cover/test_testdecorators.py:439
Functionnested
(chooser)
hypothesis/tests/conjecture/test_choice_tree.py:48
Methodnew_entry
(self, key: K, value: V)
hypothesis/src/hypothesis/internal/cache.py:284
Methodnew_entry
(self, key, value)
hypothesis/tests/nocover/test_cache_implementation.py:29
Methodnew_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:39
Methodnew_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:51
Methodnew_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:74
Methodnew_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:83
Methodnew_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:144
Methodnew_entry
(self, key, value)
hypothesis/tests/cover/test_cache_implementation.py:262
Methodnew_key
(self, key, score)
hypothesis/tests/nocover/test_cache_implementation.py:61
Functionno_annotations
(foo=None, *, bar=False)
hypothesis/tests/ghostwriter/test_ghostwriter.py:243
Functionno_explicit
(_)
hypothesis/tests/cover/test_core.py:132
Functionno_phases
(_)
hypothesis/tests/cover/test_core.py:126
Functionnodes
(data)
hypothesis/tests/conjecture/test_shrinker.py:64
Functionnodes
(data)
hypothesis/tests/conjecture/test_engine.py:72
Functionnodes
(data)
hypothesis/tests/conjecture/test_data_tree.py:511
Functionnodes
(data)
hypothesis/tests/nocover/test_conjecture_engine.py:29
Methodnodes
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:938
Functionnofail
(candidate)
hypothesis/tests/conftest.py:126
Functionnon_annotated_func
(a, b=2, *, c, d=4)
hypothesis/tests/cover/test_lookup.py:460
Functionnon_resolvable_arg
(x: NotResolvable)
hypothesis/tests/ghostwriter/test_ghostwriter.py:131
← previousnext →2,601–2,700 of 6,164, ranked by callers