MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

Functionidempotent
Write source code for a property-based test of ``func``. The resulting test checks that if you call ``func`` on it's own output, the result d
hypothesis/src/hypothesis/extra/ghostwriter.py:1419
Functionidentity
(v: T)
hypothesis/src/hypothesis/internal/conjecture/utils.py:76
Functionidentity
(x)
hypothesis/tests/cover/test_reflection.py:692
Functionif_available
(name)
hypothesis/tests/cover/test_lookup.py:300
Methodinc
(self)
hypothesis/tests/cover/test_observability.py:309
Methodinc
(self)
hypothesis/tests/cover/test_stateful.py:1201
Methodinc
(self)
hypothesis/tests/cover/test_stateful.py:1248
Methodincrement
(self)
hypothesis/tests/cover/test_stateful.py:408
Methodincrement
(self)
hypothesis/tests/cover/test_stateful.py:447
Functionindex_selects_values_in_order
(index)
hypothesis/tests/numpy/test_gen_data.py:1115
Functionindexes
Provides a strategy for producing a :class:`pandas.Index`. Arguments: * elements is a strategy which will be used to generate the individual
hypothesis/src/hypothesis/extra/pandas/impl.py:214
Functionindices
Return a strategy for :xp-ref:`valid indices <indexing.html>` of arrays with the specified shape, which may include dimensions of size zero.
hypothesis/src/hypothesis/extra/array_api.py:765
Methodindirect_all_strategies_with_type_error_with_substring
(objs)
hypothesis/tests/cover/test_sampled_from.py:264
Methodindirect_with_non_type_error
(_)
hypothesis/tests/cover/test_sampled_from.py:249
Methodindirect_with_type_error_with_substring_but_not_all_strategies
(_)
hypothesis/tests/cover/test_sampled_from.py:259
Methodindirect_with_type_error_without_substring
(_)
hypothesis/tests/cover/test_sampled_from.py:254
Methodindirect_without_error
(_)
hypothesis/tests/cover/test_sampled_from.py:244
Functioninfinity
()
hypothesis/tests/pytest/test_fixtures.py:24
Functioninit
(m: &Bound<'_, PyModule>)
hypothesis/rust/src/lib.rs:22
Functioninit
(app: Sphinx)
hypothesis/docs/_ext/hypothesis_redirects.py:54
Methodinit
(self)
hypothesis/tests/cover/test_stateful.py:402
Methodinit
(self)
hypothesis/tests/cover/test_stateful.py:1344
Methodinit_a
(self)
hypothesis/tests/cover/test_stateful.py:1197
Methodinit_a
(self)
hypothesis/tests/cover/test_stateful.py:1244
Methodinit_data
(self, value)
hypothesis/tests/cover/test_stateful.py:1182
Functioninitialize
( *, targets: Sequence[Bundle[Ex]], target: None = ..., **kwargs: SearchStrategy, )
hypothesis/src/hypothesis/stateful.py:876
Methodinitialize
(self)
hypothesis/tests/cover/test_stateful.py:644
Methodinitialize
(self)
hypothesis/tests/cover/test_stateful.py:966
Methodinitialize
(self)
hypothesis/tests/cover/test_stateful.py:982
Methodinitialize
(self)
hypothesis/tests/cover/test_stateful.py:1295
Methodinitialize_1
(self)
hypothesis/tests/cover/test_stateful.py:719
Methodinitialize_1
(self)
hypothesis/tests/cover/test_stateful.py:751
Methodinitialize_a
(self)
hypothesis/tests/cover/test_stateful.py:897
Methodinitialize_a
(self, dep)
hypothesis/tests/cover/test_stateful.py:933
Methodinitialize_a
(self)
hypothesis/tests/cover/test_stateful.py:1031
Methodinitialize_b
(self)
hypothesis/tests/cover/test_stateful.py:901
Methodinitialize_b
(self)
hypothesis/tests/cover/test_stateful.py:1036
Methodinitialize_c
(self)
hypothesis/tests/cover/test_stateful.py:905
Functioninner
(func)
hypothesis/src/hypothesis/strategies/_internal/types.py:1005
Functioninner
(value)
hypothesis/src/hypothesis/extra/lark.py:199
Functioninner
(*args, **kwargs)
hypothesis/src/hypothesis/extra/dpcontracts.py:43
Functioninner
(*args, **kwargs)
hypothesis/src/hypothesis/extra/numpy.py:632
Functioninner
(field)
hypothesis/src/hypothesis/extra/django/_fields.py:54
Functioninner
(data)
hypothesis/tests/snapshots/test_combinators.py:29
Functioninner
(xs)
hypothesis/tests/snapshots/test_shrinking.py:20
Functioninner
(**kwargs)
hypothesis/tests/snapshots/test_always_failing.py:161
Functioninner
(a, b, c, d, e)
hypothesis/tests/snapshots/test_explain.py:26
Functioninner
(*args, **kwargs)
hypothesis/tests/nocover/test_modify_inner_test.py:39
Functioninner
(*args, **kwargs)
hypothesis/tests/common/utils.py:55
Methodinner
(*args, **kwargs)
hypothesis/src/hypothesis/strategies/_internal/functions.py:39
Methodinstance_identity
(self, x)
hypothesis/tests/cover/test_reflection.py:700
Methodinstance_self
(self)
hypothesis/tests/cover/test_reflection.py:703
Functionint_to_decimal
(val)
hypothesis/src/hypothesis/strategies/_internal/core.py:1888
Functioninteger_array_indices
( shape: Shape, *, result_shape: st.SearchStrategy[Shape] = array_shapes(), )
hypothesis/src/hypothesis/extra/numpy.py:1253
Functioninteger_constraints
( draw, *, use_min_value=None, use_max_value=None, use_shrink_towards=None, use_weight
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:100
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
Functioninterrupts
(data)
hypothesis/tests/conjecture/test_engine.py:387
Functionintervals_from_codec
Return an IntervalSet of characters which are part of this codec.
hypothesis/src/hypothesis/internal/charmap.py:145
Functionints_with_forced_draw
(draw)
hypothesis/tests/conjecture/test_inquisitor.py:86
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:657
Methodinvariant_1
(self)
hypothesis/tests/cover/test_stateful.py:723
Methodinvariant_1
(self)
hypothesis/tests/cover/test_stateful.py:755
Methodinvariant_2
(self)
hypothesis/tests/cover/test_stateful.py:662
Methodinvariant_2
(self)
hypothesis/tests/cover/test_stateful.py:759
Methodinvariant_3
(self)
hypothesis/tests/cover/test_stateful.py:764
Functioninvariant_wrapper
(*args, **kwargs)
hypothesis/src/hypothesis/stateful.py:1088
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:96
Functionis_ancestor
(a, b)
tooling/src/hypothesistooling/git.py:39
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:288
Methodis_currently_empty
(self, data)
hypothesis/src/hypothesis/stateful.py:632
Functionis_custom_container_with_str
(example)
hypothesis/tests/cover/test_lookup.py:1040
Functionis_digit
(s)
hypothesis/tests/cover/test_regex.py:42
Methodis_empty
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:267
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:1045
Methodis_not_too_deep
(self, check)
hypothesis/tests/nocover/test_stateful.py:98
Functionis_space
(s)
hypothesis/tests/cover/test_regex.py:46
Functionis_unicode_space
(s)
hypothesis/tests/cover/test_regex.py:50
Functionis_valid
(s)
hypothesis/tests/nocover/test_reusable_values.py:68
Functionis_word
(s)
hypothesis/tests/cover/test_regex.py:57
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:476
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:453
Methodk
(self, k)
hypothesis/tests/cover/test_database_backend.py:612
Methodk
(self, k)
hypothesis/tests/cover/test_stateful.py:834
← previousnext →2,501–2,600 of 6,164, ranked by callers