MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

Functionproxies
(target: T)
hypothesis/src/hypothesis/internal/reflection.py:533
Functionpublish
()
tooling/src/hypothesistooling/__main__.py:195
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:234
Functionpytest_runtest_makereport
(item, call)
hypothesis/src/_hypothesis_pytestplugin.py:340
Functionpytest_runtest_makereport
(item, call)
hypothesis/tests/conftest.py:212
Functionpytest_sessionfinish
(session, exitstatus)
hypothesis/tests/conftest.py:338
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:1190
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:439
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:1055
Functionrare_value_strategy
(n, target)
hypothesis/tests/nocover/test_sampled_from.py:42
Functionreal_dtypes
()
hypothesis/src/hypothesis/extra/array_api.py:971
Methodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:405
Methodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:551
Methodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:898
Methodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:1007
Methodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:1029
Functionreally_inner
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1068
Functionreally_takes_str
By this example we show, that ``__signature__`` is the most important source.
hypothesis/tests/cover/test_lookup.py:1243
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:276
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:202
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:1433
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:1052
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:1880
Functionreplace
(m)
tooling/src/hypothesistooling/__main__.py:666
Methodreplace_healthcheck
( self, original_node: cst.Call, updated_node: cst.Call )
hypothesis/src/hypothesis/extra/codemods.py:231
Methodreplay_choices
(self, choices)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:1027
Methodreport_debug_info
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:979
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:974
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:390
Functionresolve_Callable
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1268
Functionresolve_ChainMap
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1209
Functionresolve_Counter
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1196
Functionresolve_DefaultDict
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1167
Functionresolve_FrozenSet
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1151
Functionresolve_Generator
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1262
Functionresolve_ItemsView
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1172
Functionresolve_Iterator
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1191
Functionresolve_KeysView
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1177
Functionresolve_List
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1108
Functionresolve_Match
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1231
Functionresolve_OrderedDict
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1214
Functionresolve_Pattern
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1219
Functionresolve_Set
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1146
Functionresolve_Tuple
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1113
Functionresolve_Type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1083
Functionresolve_TypeVar
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1309
Functionresolve_ValuesView
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1184
Functionresolve_custom_strategy
(thing)
hypothesis/tests/cover/test_lookup.py:526
Functionresolve_custom_strategy_for_b
(thing)
hypothesis/tests/cover/test_lookup.py:1391
Functionresolve_deque
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1204
Functionresolve_memoryview
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:1360
Functionresolve_mylist
(thing)
hypothesis/tests/cover/test_typealias_py312.py:128
Functionresolve_strategy
(thing)
hypothesis/tests/cover/test_type_lookup.py:177
Functionresolve_type_var
(thing)
hypothesis/tests/cover/test_lookup.py:409
Functionreturn_annot
()
hypothesis/tests/cover/test_annotations.py:143
Functionreusable
Meta-strategy that produces strategies that should have ``.has_reusable_values == True``.
hypothesis/tests/nocover/test_reusable_values.py:45
Functionreverse_byte
(b: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:115
Functionroundtrip
Write source code for a property-based test of ``funcs``. The resulting test checks that if you call the first function, pass the result to t
hypothesis/src/hypothesis/extra/ghostwriter.py:1524
Methodrule1
(self, data)
hypothesis/tests/cover/test_stateful.py:1463
Methodrule_1
(self)
hypothesis/tests/cover/test_stateful.py:733
Methodrule_1
(self)
hypothesis/tests/cover/test_stateful.py:774
Functionrule_wrapper
(*args, **kwargs)
hypothesis/src/hypothesis/stateful.py:1024
Functionrun
()
hypothesis/tests/common/utils.py:323
Methodrun
(data: ConjectureData)
hypothesis/src/hypothesis/core.py:1076
Methodrun
(self)
hypothesis/src/hypothesis/internal/conjecture/pareto.py:306
MethodrunTest
(self)
hypothesis/src/hypothesis/stateful.py:557
Functionrun_batch
(batch)
tooling/src/hypothesistooling/__main__.py:1035
Functionrun_script
(script, *args, **kwargs)
tooling/src/hypothesistooling/scripts.py:38
Functionrun_state_machine
(data)
hypothesis/src/hypothesis/stateful.py:155
Methodrun_step
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:43
Methodrun_step
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:79
← previousnext →3,001–3,100 of 6,838, ranked by callers