MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

Methodcan_choose_node
(node)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1442
Methodcan_sort
(a, b)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:79
Functioncannot_encode
(string)
hypothesis/tests/numpy/test_from_dtype.py:120
Methodcat_tuples
(self, left, right)
hypothesis/tests/nocover/test_strategy_state.py:153
Methodcdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:148
Methodcdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:184
Methodcdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:239
Methodcharge
(self, child)
hypothesis/tests/nocover/test_stateful.py:90
Functioncheck
(x)
hypothesis/tests/nocover/test_database_usage.py:120
Methodcheck
(self, value1, value2)
hypothesis/tests/cover/test_stateful.py:249
Methodcheck
(self, instance)
hypothesis/tests/cover/test_stateful.py:1525
Methodcheck_a_defined
(self)
hypothesis/tests/cover/test_stateful.py:1239
Methodcheck_a_positive
(self)
hypothesis/tests/cover/test_stateful.py:1226
Functioncheck_abi3
(*args)
tooling/src/hypothesistooling/__main__.py:1053
Functioncheck_abi3t
(*args)
tooling/src/hypothesistooling/__main__.py:1078
Functioncheck_documentation
(*args)
tooling/src/hypothesistooling/__main__.py:1118
Functioncheck_format
()
tooling/src/hypothesistooling/__main__.py:340
Functioncheck_function
(f: Func)
hypothesis/src/hypothesis/internal/coverage.py:105
Functioncheck_installed
No-op task that can be used to test for a successful install (so we don't fail to run if a previous install failed midway).
tooling/src/hypothesistooling/__main__.py:97
Methodcheck_invariants
(self, value)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:36
Methodcheck_invariants
(self, value)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:37
Methodcheck_invariants
(self, value)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:57
Functioncheck_pyodide
()
tooling/src/hypothesistooling/__main__.py:988
Functioncheck_quality
(*args)
tooling/src/hypothesistooling/__main__.py:963
Functioncheck_release_smoke
(*args)
tooling/src/hypothesistooling/__main__.py:958
Functioncheck_rust_tests
(*args)
tooling/src/hypothesistooling/__main__.py:971
Functioncheck_type_coverage
()
tooling/src/hypothesistooling/__main__.py:1172
Functioncheck_types
(*args)
tooling/src/hypothesistooling/__main__.py:1128
Functioncheck_types_api
(*args)
tooling/src/hypothesistooling/__main__.py:1142
Functioncheck_types_hypothesis
(*args)
tooling/src/hypothesistooling/__main__.py:1157
Methodcheck_valid
Debugging method for use in tests. Asserts that all of the cache's invariants hold. When everything is working correctly this should
hypothesis/src/hypothesis/internal/cache.py:239
Methodcheck_values
(self)
hypothesis/tests/nocover/test_cache_implementation.py:75
Functioncheck_whole_repo_tests
(*args)
tooling/src/hypothesistooling/__main__.py:1104
Functionchecks_deprecated_behaviour
A decorator for testing deprecated behaviour.
hypothesis/tests/common/utils.py:141
Methodchildren
The list of all spans with this as a parent, in increasing index order.
hypothesis/src/hypothesis/internal/conjecture/data.py:270
Methodchildren
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:559
Methodchoice_count
The number of choices in this span.
hypothesis/src/hypothesis/internal/conjecture/data.py:265
Functionchoices
(draw)
hypothesis/tests/conjecture/common.py:165
Methodchoices
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:674
Methodchoices
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:823
Functionclamp_inputs
(draw)
hypothesis/tests/conjecture/test_junkdrawer.py:71
Methodclass_identity
(cls, x)
hypothesis/tests/cover/test_reflection.py:813
Methodclass_label
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:568
Functionclear_lambda_caches
(request, monkeypatch)
hypothesis/tests/cover/test_lambda_formatting.py:26
Methodclear_listeners
Remove all change listeners.
hypothesis/src/hypothesis/database.py:305
Functionclear_strategy_cache
()
hypothesis/src/hypothesis/strategies/_internal/utils.py:42
Functioncodemod
`hypothesis codemod` refactors deprecated or inefficient code. It adapts `python -m libcst.tool`, removing many features and config options
hypothesis/src/hypothesis/extra/cli.py:184
Functioncolumns
A convenience function for producing a list of :class:`column` objects of the same general shape. The names_or_number argument is either a se
hypothesis/src/hypothesis/extra/pandas/impl.py:503
Functioncomplex_dtypes
( *, sizes: CpxSize | Sequence[CpxSize] = (64, 128) )
hypothesis/src/hypothesis/extra/array_api.py:1052
Functioncompose_types
(x: type, y: type)
hypothesis/tests/ghostwriter/test_ghostwriter.py:429
Functioncomposite
( f: Callable[Concatenate[DrawFn, P], Ex], )
hypothesis/src/hypothesis/strategies/_internal/core.py:2175
Methodconclude_test
(self, *args)
hypothesis/tests/conjecture/test_test_data.py:207
Functionconcrete_generic_func1
(obj: _FirstBase[int, str])
hypothesis/tests/nocover/test_drypython_returns.py:152
Functionconcrete_generic_func2
(obj: _SecondBase[float, bool])
hypothesis/tests/nocover/test_drypython_returns.py:156
Functioncondition
(n)
hypothesis/tests/numpy/test_from_dtype.py:335
Methodconsider
(n, sign)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1112
Functionconstructor
(a: str = None)
hypothesis/tests/cover/test_lookup.py:1169
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:1588
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
Functioncounted_integers
(draw)
hypothesis/tests/conjecture/test_mutations.py:59
Functioncounting
(thing)
hypothesis/tests/nocover/test_type_lookup_forward_ref.py:63
Functioncounting_get_type_hints
(thing)
hypothesis/tests/cover/test_lookup.py:942
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:531
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:816
Methoddatabase
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1029
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:1014
Methoddec
(self)
hypothesis/tests/cover/test_observability.py:507
Functiondecorator
(f)
hypothesis/src/hypothesis/stateful.py:1149
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:258
Functiondefault
(value: object)
hypothesis/src/hypothesis/reporting.py:20
Functiondefault_executor
(data, function)
hypothesis/src/hypothesis/core.py:830
Functiondefines_dtype_strategy
(strat: T)
hypothesis/src/hypothesis/extra/numpy.py:627
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:1167
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
← previousnext →2,301–2,400 of 6,838, ranked by callers