MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,708 in github.com/HypothesisWorks/hypothesis

Functionoverloaded
(draw: st.DrawFn, *, x: int)
hypothesis/tests/cover/test_composite.py:212
Methodparent
The index of the span that this one is nested directly within.
hypothesis/src/hypothesis/internal/conjecture/data.py:231
Methodparentage
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:527
Methodpareto_key
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:972
Methodpass_to_descendant
Attempt to replace each span with a descendant span. This is designed to deal with strategies that call themselves recursively. For e
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:988
Methodpdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:158
Methodpdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:197
Methodphases
Control which phases should be run. Hypothesis divides tests into logically distinct phases. - |Phase.explicit|: Running |e
hypothesis/src/hypothesis/_settings.py:899
Methodpin_key
(self, key)
hypothesis/tests/nocover/test_cache_implementation.py:81
Functionplus_one
()
hypothesis/tests/cover/test_lambda_formatting.py:236
Methodpop_even
(self, n)
hypothesis/tests/nocover/test_threading.py:92
Methodpop_even
(self, value)
hypothesis/tests/cover/test_stateful.py:1590
Methodpopulate
(self)
hypothesis/tests/nocover/test_stateful.py:143
Methodpopulate_b1
(self)
hypothesis/tests/cover/test_stateful.py:235
Methodpopulate_bundle
(self, items)
hypothesis/tests/cover/test_stateful.py:276
Methodpopulate_bundle
(self)
hypothesis/tests/cover/test_stateful.py:350
Methodpre_save
(self, model_instance, add)
hypothesis/tests/django/toystore/models.py:143
Functionprecondition
Decorator to apply a precondition for rules in a RuleBasedStateMachine. Specifies a precondition for a rule to be considered as a valid step in th
hypothesis/src/hypothesis/stateful.py:1035
Functionprecondition_wrapper
(*args, **kwargs)
hypothesis/src/hypothesis/stateful.py:1060
Functionpredicate
(x)
hypothesis/tests/nocover/test_boundary_exploration.py:26
Methodpredicate
(d: ConjectureResult | _Overrun)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1725
Methodprint_blob
If set to ``True``, Hypothesis will print code for |failing test cases| that can be used with |@reproduce_failure| to reproduce the f
hypothesis/src/hypothesis/_settings.py:1027
Functionprint_next_version
()
tooling/src/hypothesistooling/__main__.py:186
Methodprinter
(obj, p, cycle, name=name)
hypothesis/src/hypothesis/stateful.py:456
Functionproblems
(draw)
hypothesis/tests/quality/test_zig_zagging.py:32
Functionprocess_signature
(app, what, name, obj, options, signature, return_annotation)
hypothesis/docs/conf.py:232
Functionproxies
(target: T)
hypothesis/src/hypothesis/internal/reflection.py:536
Functionpublish
()
tooling/src/hypothesistooling/__main__.py:191
Functionpure_func
(arg1, arg2)
hypothesis/tests/cover/test_functions.py:166
Functionpytest_addoption
(parser)
hypothesis/src/_hypothesis_pytestplugin.py:102
Functionpytest_addoption
(parser)
hypothesis/tests/conftest.py:76
Functionpytest_collection_modifyitems
(items)
hypothesis/src/_hypothesis_pytestplugin.py:430
Functionpytest_collection_modifyitems
(config, items)
hypothesis/tests/array_api/conftest.py:108
Functionpytest_configure
(config)
hypothesis/src/_hypothesis_pytestplugin.py:155
Functionpytest_configure
(config)
hypothesis/tests/conftest.py:55
Functionpytest_generate_tests
(metafunc)
hypothesis/tests/array_api/conftest.py:93
Functionpytest_ignore_collect
(collection_path, config)
hypothesis/src/_hypothesis_pytestplugin.py:479
Functionpytest_report_header
(config)
hypothesis/src/_hypothesis_pytestplugin.py:136
Functionpytest_runtest_call
(item)
hypothesis/src/_hypothesis_pytestplugin.py:192
Functionpytest_runtest_call
(item)
hypothesis/tests/conftest.py:238
Functionpytest_runtest_makereport
(item, call)
hypothesis/src/_hypothesis_pytestplugin.py:340
Functionpytest_runtest_makereport
(item, call)
hypothesis/tests/conftest.py:216
Functionpytest_sessionfinish
(session, exitstatus)
hypothesis/tests/conftest.py:342
Functionpytest_sessionstart
(session)
hypothesis/src/_hypothesis_pytestplugin.py:452
Functionpytest_terminal_summary
(terminalreporter)
hypothesis/src/_hypothesis_pytestplugin.py:390
Functionpython
(*args)
tooling/src/hypothesistooling/__main__.py:1173
Functionpython_executable
(version)
tooling/src/hypothesistooling/installers.py:48
Functionquery
Return a tuple of intervals covering the codepoints for all characters that meet the criteria. >>> query() ((0, 1114111),) >>> query(
hypothesis/src/hypothesis/internal/charmap.py:304
Methodqux
(self)
hypothesis/tests/cover/test_type_lookup.py:392
Methodqux
(self)
hypothesis/tests/cover/test_type_lookup.py:398
Methodqux
(self)
hypothesis/tests/cover/test_type_lookup.py:406
Methodqux
(self)
hypothesis/tests/cover/test_type_lookup.py:422
Methodqux
(self)
hypothesis/tests/cover/test_type_lookup.py:427
Methodr
(self)
hypothesis/tests/cover/test_health_checks.py:178
Methodr
(self)
hypothesis/tests/cover/test_health_checks.py:186
Methodr
(self)
hypothesis/tests/cover/test_health_checks.py:194
Functionraise_error
(*args, **kwargs)
hypothesis/tests/ghostwriter/test_ghostwriter_cli.py:258
Functionraises_warning
Use instead of pytest.warns to check that the raised warning is handled properly
hypothesis/tests/common/utils.py:229
Methodrandom
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:437
Functionrandom_module
Hypothesis always seeds global PRNGs before running a test, and restores the previous state afterwards. If having a fixed seed would unaccept
hypothesis/src/hypothesis/strategies/_internal/core.py:1057
Functionrare_value_strategy
(n, target)
hypothesis/tests/nocover/test_sampled_from.py:43
Functionreal_dtypes
()
hypothesis/src/hypothesis/extra/array_api.py:972
Methodrealize
(self, value)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:472
Methodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:403
Methodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:549
Functionreally_inner
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1105
Functionreally_takes_str
By this example we show, that ``__signature__`` is the most important source.
hypothesis/tests/cover/test_lookup.py:1253
Methodrecorded_value
The value produced by the strategy draw corresponding to this span, or the ``no_recorded_value`` sentinel if no value was recorded, or if
hypothesis/src/hypothesis/internal/conjecture/data.py:273
Functionrecording
(**kwargs)
hypothesis/tests/conjecture/test_optimiser.py:226
Functionrecording_mkstemp
(*args, **kwargs)
hypothesis/tests/cover/test_constants_ast.py:337
Functionrecur_inner
(other: SearchStrategy)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:197
Methodredistribute_numeric_pairs
If there is a sum of generated numbers that we need their sum to exceed some bound, lowering one of them requires raising the other. T
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1431
Functionrefactor
Update a source code string from deprecated to modern Hypothesis APIs. This may not fix *all* the deprecation warnings in your code, but we're
hypothesis/src/hypothesis/extra/codemods.py:52
Functionregister
(type_, fallback=None, *, module=typing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1089
Methodreorder_spans
This pass allows us to reorder the children of each span. For example, consider the following: .. code-block:: python i
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1878
Functionreplace
(m)
tooling/src/hypothesistooling/__main__.py:664
Methodreplace_healthcheck
(self, original_node, updated_node)
hypothesis/src/hypothesis/extra/codemods.py:231
Methodreport_debug_info
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:980
Methodreport_multiple_bugs
Because Hypothesis runs the test many times, it can sometimes find multiple bugs in a single run. Reporting all of them at once is u
hypothesis/src/hypothesis/_settings.py:972
Methodrepr_is_good
(self, strat)
hypothesis/tests/nocover/test_strategy_state.py:166
Functionreproduce_failure
Run the |test case| corresponding to the binary ``blob`` in order to reproduce a failure. ``blob`` is a serialized version of the internal in
hypothesis/src/hypothesis/core.py:387
Functionresolve_Callable
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1308
Functionresolve_ChainMap
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1251
Functionresolve_Counter
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1238
Functionresolve_DefaultDict
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1209
Functionresolve_FrozenSet
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1193
Functionresolve_Generator
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1302
Functionresolve_ItemsView
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1214
Functionresolve_Iterator
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1233
Functionresolve_KeysView
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1219
Functionresolve_List
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1145
Functionresolve_Match
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1273
Functionresolve_OrderedDict
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1256
Functionresolve_Pattern
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1261
Functionresolve_Set
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1188
Functionresolve_Tuple
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1150
Functionresolve_Type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1120
Functionresolve_TypeVar
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1349
Functionresolve_ValuesView
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1226
Functionresolve_custom_strategy
(thing)
hypothesis/tests/cover/test_lookup.py:533
← previousnext →2,901–3,000 of 6,708, ranked by callers