MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,708 in github.com/HypothesisWorks/hypothesis

Methodconsider
(n, sign)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1110
Functionconstructor
(a: str = None)
hypothesis/tests/cover/test_lookup.py:1176
Methodconsume
(self, value)
hypothesis/tests/cover/test_stateful.py:943
Functionconvert_element
(value)
hypothesis/src/hypothesis/extra/pandas/impl.py:214
Methodcopy_node
(node, n)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1586
Functioncorrect_dot_access_fun
(thing: _CorrectDotAccess)
hypothesis/tests/cover/test_type_lookup_forward_ref.py:83
Functioncorrect_fun
(thing: _Correct)
hypothesis/tests/cover/test_type_lookup_forward_ref.py:43
Functioncount_choices_for
(choice_type, constraints)
hypothesis/tests/crosshair/test_crosshair.py:72
Methodcount_step
(self)
hypothesis/tests/cover/test_settings.py:400
Functioncounting
(thing)
hypothesis/tests/nocover/test_type_lookup_forward_ref.py:63
Functioncounting_get_type_hints
(thing)
hypothesis/tests/cover/test_lookup.py:949
Functioncovered
A test function with a removable explicit example.
hypothesis/tests/patching/callables.py:38
Methodcreate
(self)
hypothesis/tests/cover/test_stateful.py:875
Methodcreate_bun
(self)
hypothesis/tests/cover/test_stateful.py:1480
Methodcreate_cache
(self, max_size)
hypothesis/tests/nocover/test_cache_implementation.py:37
Methodcreate_stuff
(self, name)
hypothesis/tests/cover/test_statistical_events.py:224
Methodcreate_thing
(self, name)
hypothesis/tests/cover/test_statistical_events.py:244
Functioncriterion
(ls)
hypothesis/tests/nocover/test_flatmap.py:95
Methodcurrent_score
(self)
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:59
Methodcurrently_capped
(self)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:55
Functiondata_frames
Provides a strategy for producing a :class:`pandas.DataFrame`. Arguments: * columns: An iterable of :class:`column` objects describing the s
hypothesis/src/hypothesis/extra/pandas/impl.py:533
Methoddatabase
An instance of |ExampleDatabase| in which we will save failing |test cases|, and from which we will load previous failing test cases.
hypothesis/src/hypothesis/_settings.py:814
Methoddatabase
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1030
Methoddb_type
(self, connection)
hypothesis/tests/django/toystore/models.py:32
Methoddb_type
(self, connection)
hypothesis/tests/django/toystore/models.py:37
Methoddeadline
The maximum allowed duration of an individual |test case|, in milliseconds. You can pass an integer, float, or timedelta. If ``None``
hypothesis/src/hypothesis/_settings.py:1012
Methoddec
(self)
hypothesis/tests/cover/test_observability.py:490
Functiondecorator
(f)
hypothesis/src/hypothesis/stateful.py:1058
Functiondecorator
(strategy_definition)
hypothesis/src/hypothesis/strategies/_internal/utils.py:125
Functiondecorator
An example of a common decorator pattern.
hypothesis/tests/nocover/test_modify_inner_test.py:35
Functiondecorator_with_wrapper
()
hypothesis/tests/cover/test_lambda_formatting.py:265
Functiondefault
(value: object)
hypothesis/src/hypothesis/reporting.py:20
Functiondefault_executor
(data, function)
hypothesis/src/hypothesis/core.py:827
Functiondefines_dtype_strategy
(strat: T)
hypothesis/src/hypothesis/extra/numpy.py:629
Functiondefines_strategy
Each standard strategy function provided to users by Hypothesis should be decorated with @defines_strategy. This registers the strategy with
hypothesis/src/hypothesis/strategies/_internal/utils.py:84
Functiondelay
(phase, _info)
hypothesis/tests/cover/test_deadline.py:165
Methoddelete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1162
Methoddelete
(self, i)
hypothesis/tests/nocover/test_conjecture_int_list.py:46
Methoddelete
(self, k, v)
hypothesis/tests/nocover/test_database_agreement.py:55
Methoddelete
(self, k, v)
hypothesis/tests/redis/test_redis_exampledatabase.py:74
Methoddelete
(self, k, v)
hypothesis/tests/cover/test_database_backend.py:655
Methoddelete
(self, key: bytes, value: bytes)
hypothesis/tests/cover/test_database_backend.py:726
Methoddelete
(self, key, value)
hypothesis/tests/cover/test_phases.py:61
Methoddelete
(self, k, v)
hypothesis/tests/cover/test_stateful.py:852
Methoddelete_k
(k, *, i=i, base=base)
hypothesis/src/hypothesis/internal/conjecture/shrinking/collection.py:63
Methoddepopulate_b1
(self, consumed)
hypothesis/tests/cover/test_stateful.py:240
Methoddepopulate_b1_multiple
(self, consumed)
hypothesis/tests/cover/test_stateful.py:245
Functiondeprecated_strategy
(draw)
hypothesis/tests/nocover/test_regressions.py:22
Methoddepth
Depth of this span in the span tree. The top-level span has a depth of 0.
hypothesis/src/hypothesis/internal/conjecture/data.py:246
Methoddepth
(ls)
hypothesis/tests/nocover/test_stateful.py:111
Methoddepths
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:531
Methodderandomize
If True, seed Hypothesis' random number generator using a hash of the test function, so that every run will test the same set of test
hypothesis/src/hypothesis/_settings.py:797
Methodderive
(self, excs)
hypothesis/src/hypothesis/errors.py:200
Methodderived_value
It's useful during shrinking to have access to derived values of the current shrink target. This decorator allows you to define these
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:284
Methoddescendants
()
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1019
Functiondifferent_types_op
(amount, text)
hypothesis/tests/ghostwriter/test_ghostwriter.py:824
Methoddirect_all_strategies_with_type_error_with_substring
(data)
hypothesis/tests/cover/test_sampled_from.py:238
Methoddirect_with_non_type_error
(data)
hypothesis/tests/cover/test_sampled_from.py:220
Methoddirect_with_type_error_with_substring_but_not_all_strategies
(data)
hypothesis/tests/cover/test_sampled_from.py:232
Methoddirect_with_type_error_without_substring
(data)
hypothesis/tests/cover/test_sampled_from.py:226
Methoddirect_without_error
(data)
hypothesis/tests/cover/test_sampled_from.py:215
Functiondisabled_test_passes_flake8
()
whole_repo_tests/whole_repo/test_rst_is_valid.py:47
Methoddiscarded
True if this is span's ``stop_span`` call had ``discard`` set to ``True``. This means we believe that the shrinker should be able to delete
hypothesis/src/hypothesis/internal/conjecture/data.py:253
Methoddiscarded
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:523
Methoddistinct_labels
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:985
Methoddiv_by_precondition_after
(self, num)
hypothesis/tests/cover/test_stateful.py:91
Methoddiv_by_precondition_before
(self, num)
hypothesis/tests/cover/test_stateful.py:96
Functiondivide
This is a RST-style docstring for `divide`. :raises ZeroDivisionError: if b == 0
hypothesis/tests/ghostwriter/test_expected_output.py:94
Functiondm_func
Take denom, construct numerator strategy, and build fraction.
hypothesis/src/hypothesis/strategies/_internal/core.py:1785
Methoddo
(self, item)
hypothesis/tests/cover/test_statistical_events.py:228
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/stateful.py:655
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/stateful.py:1220
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/provisional.py:135
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:68
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/recursive.py:173
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/featureflags.py:131
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/core.py:1043
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/core.py:1095
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/core.py:1993
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/core.py:2043
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/core.py:2390
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/core.py:2462
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/misc.py:104
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/misc.py:142
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/flatmapped.py:57
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/deferred.py:94
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:188
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:71
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:195
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:553
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/types.py:1294
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/shared.py:38
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/random.py:434
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:489
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:949
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:1034
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:1100
Methoddo_draw
(self, data)
hypothesis/src/hypothesis/strategies/_internal/functions.py:100
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/collections.py:75
Methoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/collections.py:224
← previousnext →2,301–2,400 of 6,708, ranked by callers