MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,708 in github.com/HypothesisWorks/hypothesis

Functioninteger_dtypes
( *, sizes: IntSize | Sequence[IntSize] = (8, 16, 32, 64) )
hypothesis/src/hypothesis/extra/array_api.py:980
Methodinteger_range
(self, left, right)
hypothesis/tests/nocover/test_strategy_state.py:161
Functioninterrupt_eventually
(draw)
hypothesis/tests/nocover/test_baseexception.py:37
Functioninterrupted_sort_key
(self)
hypothesis/tests/cover/test_cache_implementation.py:365
Functioninterrupts
(data)
hypothesis/tests/conjecture/test_engine.py:387
Functionints_with_forced_draw
(draw)
hypothesis/tests/conjecture/test_inquisitor.py:100
Functioninvalid_test
(s)
hypothesis/tests/cover/test_fuzz_one_input.py:161
Functioninvalid_types
(attr1: int, attr2: UnknownClass, attr3: str)
hypothesis/tests/ghostwriter/example_code/future_annotations.py:33
Methodinvariant
(self)
hypothesis/tests/nocover/test_stateful.py:304
Methodinvariant_1
(self)
hypothesis/tests/cover/test_stateful.py:663
Methodinvariant_1
(self)
hypothesis/tests/cover/test_stateful.py:729
Methodinvariant_1
(self)
hypothesis/tests/cover/test_stateful.py:761
Methodinvariant_2
(self)
hypothesis/tests/cover/test_stateful.py:668
Methodinvariant_2
(self)
hypothesis/tests/cover/test_stateful.py:765
Methodinvariant_3
(self)
hypothesis/tests/cover/test_stateful.py:770
Functioninvariant_wrapper
(*args, **kwargs)
hypothesis/src/hypothesis/stateful.py:1153
Methodinverse_cdf
(self, u: float)
hypothesis/src/hypothesis/internal/statistics.py:155
Methodinverse_cdf
(self, u: float)
hypothesis/src/hypothesis/internal/statistics.py:188
Methodinverse_cdf
(self, u: float)
hypothesis/src/hypothesis/internal/statistics.py:252
Functioninvert
(n)
hypothesis/tests/dpcontracts/test_contracts.py:22
Functioninverted_test
(*arguments, **kwargs)
hypothesis/tests/common/utils.py:102
Functionis_ancestor
(a, b)
tooling/src/hypothesistooling/git.py:39
Functionis_ascii_digit
(s)
hypothesis/tests/cover/test_regex.py:47
Functionis_ascii_word
(s)
hypothesis/tests/cover/test_regex.py:51
Methodis_cacheable
Whether it is safe to hold on to instances of this strategy in a cache. See _STRATEGY_CACHE.
hypothesis/src/hypothesis/strategies/_internal/strategies.py:310
Methodis_currently_empty
(self, data)
hypothesis/src/hypothesis/stateful.py:717
Functionis_custom_container_with_str
(example)
hypothesis/tests/cover/test_lookup.py:1038
Functionis_digit
(s)
hypothesis/tests/cover/test_regex.py:43
Methodis_empty
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:289
Methodis_exhausted
Returns True if every node is exhausted, and therefore the tree has been fully explored.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:695
Functionis_failing
(e)
hypothesis/tests/quality/test_shrink_quality.py:425
Functionis_good
(x)
hypothesis/tests/nocover/test_simple_numbers.py:56
Methodis_good
(x)
hypothesis/tests/nocover/test_strategy_state.py:92
Methodis_ignored_uri
(self, uri: str)
hypothesis/docs/_ext/hypothesis_linkcheck.py:41
Functionis_non_custom_container
(example)
hypothesis/tests/cover/test_lookup.py:1043
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:492
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:571
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:224
Methodlabel_indices
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:535
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
Methodlexes_entirely
(string: str, pattern: re.Pattern[str] = pattern)
hypothesis/src/hypothesis/extra/lark.py:99
Methodlimits
(self)
hypothesis/tests/cover/test_observability.py:494
Functionlint
()
tooling/src/hypothesistooling/__main__.py:117
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:783
Functionlive_website
()
tooling/src/hypothesistooling/__main__.py:775
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:1542
Methodlower_integers_together
(self, chooser)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1509
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:1211
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
Functionmake_filtered_integers
()
hypothesis/tests/cover/test_observability.py:305
Functionmake_filtered_sampled_from
()
hypothesis/tests/cover/test_observability.py:328
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:323
Functionmake_twice_filtered_integers
()
hypothesis/tests/cover/test_observability.py:312
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:150
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:412
Methodmap
(self, pack: Callable[[Ex], T])
hypothesis/src/hypothesis/strategies/_internal/strategies.py:652
Methodmarker
(self)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:47
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 |test cases| have been considered without finding any failing test case, Hypothesis will stop looking.
hypothesis/src/hypothesis/_settings.py:755
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
← previousnext →2,701–2,800 of 6,708, ranked by callers