MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,708 in github.com/HypothesisWorks/hypothesis

Functioneverything_except
(type_)
hypothesis/tests/cover/test_targeting.py:66
Methodexample
Provide an example of the sort of value that this strategy generates. This method is designed for use in a REPL, and will raise an error if
hypothesis/src/hypothesis/strategies/_internal/strategies.py:332
Methodexample_generating_inner_function
( ex: Ex, # type: ignore # mypy is overzealous in preventing covariant params )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:403
Functionexampledatabase
(request, tmp_path)
hypothesis/tests/cover/test_database_backend.py:117
Functionexecute
(data, function)
hypothesis/src/hypothesis/core.py:843
Methodexecute_example
(self, function)
hypothesis/tests/cover/test_executors.py:22
Methodexecute_example
(self, f)
hypothesis/tests/cover/test_executors.py:43
Methodexecute_example
(self, f)
hypothesis/tests/cover/test_executors.py:49
Methodexecute_example
(self, f)
hypothesis/tests/cover/test_asyncio.py:47
Methodexecute_example
(self, f)
hypothesis/tests/cover/test_asyncio.py:79
Methodexhausted
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/choicetree.py:127
Methodexhausted
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/choicetree.py:152
Functionexplicit_phase
(*args, kw)
hypothesis/tests/cover/test_failing_test_case_output.py:44
Functionexponent_key
(e: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:82
Functionf
()
website/theme/static/prism.js:3
Functionf
(x)
hypothesis/tests/nocover/test_simple_numbers.py:88
Functionf
(data)
hypothesis/tests/nocover/test_conjecture_engine.py:51
Functionf
(arg: int)
hypothesis/tests/ghostwriter/test_ghostwriter.py:395
Functionf
(shapes: nps.BroadcastableShapes)
hypothesis/tests/numpy/test_gen_data.py:1006
Functionf
(*, a, b=2)
hypothesis/tests/cover/test_annotations.py:70
Functionf
(x)
hypothesis/tests/cover/test_type_lookup.py:475
Functionf
()
hypothesis/tests/cover/test_explicit_examples.py:347
Functionf
(u, v)
hypothesis/tests/cover/test_searchstrategy.py:78
Methodf
(self, v)
hypothesis/tests/nocover/test_stateful.py:295
Methodf
(self, value)
hypothesis/tests/nocover/test_stateful.py:332
Methodf
(self, value)
hypothesis/tests/nocover/test_stateful.py:345
Methodf
()
hypothesis/tests/cover/test_executors.py:29
Methodf
(self)
hypothesis/tests/cover/test_stateful.py:1501
Methodf
(self)
hypothesis/tests/cover/test_lookup.py:926
Functionfail
(candidate)
hypothesis/tests/conftest.py:108
Methodfail
(self, x, y)
hypothesis/tests/nocover/test_stateful.py:147
Methodfail_eventually
(self)
hypothesis/tests/cover/test_stateful.py:1085
Methodfail_fast
(self)
hypothesis/tests/cover/test_stateful.py:354
Methodfail_fast
(self)
hypothesis/tests/cover/test_stateful.py:915
Methodfail_fast
(self, param)
hypothesis/tests/cover/test_stateful.py:958
Methodfail_fast
(self)
hypothesis/tests/cover/test_stateful.py:1061
Methodfail_fast
(self, param)
hypothesis/tests/cover/test_stateful.py:1320
Functionfails_health_check
(label, **kwargs)
hypothesis/tests/conjecture/test_engine.py:428
Functionfails_with_output
(expected)
hypothesis/tests/conjecture/test_inquisitor.py:21
Functionfake_fetch_artifact
(self)
hypothesis/tests/cover/test_database_backend.py:341
Functionfake_subTest
Monkeypatch for `unittest.TestCase.subTest` during `@given`. If we don't patch this out, each failing test case is reported as a separate fai
hypothesis/src/hypothesis/core.py:1695
Functionfast_time
()
hypothesis/tests/conjecture/test_engine.py:952
Methodfetch
(self, k)
hypothesis/tests/cover/test_database_backend.py:641
Methodfetch
(self, key: bytes)
hypothesis/tests/cover/test_database_backend.py:725
Methodfill
(self)
hypothesis/tests/nocover/test_threading.py:79
Methodfill
(self)
hypothesis/tests/cover/test_stateful.py:1538
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:153
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:99
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:719
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:1048
Methodfilter
( self, condition: Callable[[list[Ex]], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/collections.py:272
Methodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/strings.py:481
Methodfilter
( self, condition: Callable[[Ex], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:452
Methodfilter
( self, condition: Callable[[Ex], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:663
Methodfilter
( self, condition: Callable[[MappedTo], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1209
Methodfilter
( self, condition: Callable[[Ex], TypeGuard[T]] )
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1358
Methodfiltered_strategy
(self, source, level, mixer)
hypothesis/tests/nocover/test_strategy_state.py:91
Functionfind_integer_cost
(n)
hypothesis/tests/common/costbounds.py:16
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:418
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:427
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:444
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:456
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:468
Methodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:484
Functionfirst_annot
(draw: None)
hypothesis/tests/cover/test_annotations.py:93
Methodfirst_span_after_node
()
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1850
Functionfixt
(request)
hypothesis/tests/pytest/test_parametrized_db_keys.py:43
Functionflaky
(max_runs, min_passes)
hypothesis/tests/common/utils.py:54
Methodflatmap
Old syntax for a special case of |@composite|: .. code-block:: python @st.composite def flatmap_like(draw, base_stra
hypothesis/src/hypothesis/strategies/_internal/strategies.py:421
Methodflatmapped_strategy
(self, source, result1, result2, mixer, p)
hypothesis/tests/nocover/test_strategy_state.py:131
Methodfloat
(self, source)
hypothesis/tests/nocover/test_strategy_state.py:107
Functionfloat_clamper
(f: float)
hypothesis/src/hypothesis/internal/floats.py:49
Functionfloat_constraints
( draw, *, use_min_value=None, use_max_value=None, use_forced=False, )
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:246
Methodfloat_range
(self, left, right)
hypothesis/tests/nocover/test_strategy_state.py:115
Functionfloating_dtypes
( *, sizes: FltSize | Sequence[FltSize] = (32, 64) )
hypothesis/src/hypothesis/extra/array_api.py:992
Methodfn
(self, original_node, updated_node)
hypothesis/src/hypothesis/extra/codemods.py:270
Functionfn_ktest
(*fnkwargs)
hypothesis/tests/cover/test_direct_strategies.py:46
Functionfn_test
(*fnkwargs)
hypothesis/tests/cover/test_direct_strategies.py:34
Functionfn_top
A trivial test function.
hypothesis/tests/patching/toplevel.py:22
Functionfoo
(*args, **kwargs)
hypothesis/tests/nocover/test_fancy_repr.py:22
Functionfoo
(x)
hypothesis/tests/nocover/test_pretty_repr.py:20
Functionfoo
(x)
hypothesis/tests/nocover/test_filtering.py:60
Functionfoo
(x=None)
hypothesis/tests/cover/test_composite.py:65
Functionfoo
()
hypothesis/tests/cover/test_control.py:85
Functionfoo
()
hypothesis/tests/cover/test_detection.py:17
Methodfoo
(self)
hypothesis/tests/cover/test_lookup.py:899
Methodfoo
(self)
hypothesis/tests/cover/test_lookup_py39.py:141
Methodfoo
(self)
hypothesis/tests/cover/test_lookup_py39.py:145
Methodforced
(self)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:424
Functionfraction_to_decimal
(val)
hypothesis/src/hypothesis/strategies/_internal/core.py:1935
Functionfreeze
()
hypothesis/tests/conftest.py:164
Methodfreeze
(self)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:465
Functionfrom_dtype
( dtype: DataType | str, *, min_value: int | float | None = None, max_value: i
hypothesis/src/hypothesis/extra/array_api.py:920
Methodfrom_json
(cls, obj: str)
hypothesis/tests/ghostwriter/test_ghostwriter.py:296
Functionfrom_regex
( regex: bytes | Pattern[bytes], *, fullmatch: bool = False, )
hypothesis/src/hypothesis/strategies/_internal/core.py:898
Functionfrom_typing_type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:640
Methodfromutc
(self, value)
hypothesis/tests/cover/test_datetimes.py:485
Functionfunc
(_)
hypothesis/tests/test_annotated_types.py:154
Functionfunc
(arg, *, kwonly_arg)
hypothesis/tests/cover/test_functions.py:154
Functionfunc_a
()
hypothesis/tests/cover/test_functions.py:54
← previousnext →2,501–2,600 of 6,708, ranked by callers