MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,609 in github.com/HypothesisWorks/hypothesis

↓ 1 callersFunctiondescribe_close_matches
( module_or_class: types.ModuleType, objname: str )
hypothesis/src/hypothesis/extra/cli.py:109
↓ 1 callersFunctiondiscard_frozen
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:23
↓ 1 callersFunctiondiscard_multiple_frozen
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:37
↓ 1 callersFunctiondistinct_integers
(draw)
hypothesis/tests/numpy/test_fill_values.py:23
↓ 1 callersFunctiondistorted_value
(x)
hypothesis/tests/quality/test_discovery_ability.py:197
↓ 1 callersFunctiondiv_subterms
(e)
hypothesis/tests/quality/test_shrink_quality.py:409
↓ 1 callersMethoddo_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/extra/lark.py:172
↓ 1 callersMethoddo_filtered_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:777
↓ 1 callersFunctiondo_it_all
(l, a, x, data)
hypothesis/tests/cover/test_observability.py:77
↓ 1 callersFunctiondo_publish
()
tooling/src/hypothesistooling/__main__.py:157
↓ 1 callersMethoddo_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:558
↓ 1 callersMethoddocname_out_path
For a Sphinx docname (the path to a source document without suffix), returns path to outfile that would be created by the used builde
hypothesis/docs/_ext/hypothesis_redirects.py:104
↓ 1 callersFunctiondocumentation
()
tooling/src/hypothesistooling/__main__.py:732
↓ 1 callersMethoddowngrade_choices
(self, choices: Sequence[ChoiceT])
hypothesis/src/hypothesis/internal/conjecture/engine.py:950
↓ 1 callersMethoddraw_aware_datetime
(self, data, tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:320
↓ 1 callersMethoddraw_boolean
( self, p: float = 0.5, )
hypothesis/src/hypothesis/internal/conjecture/providers.py:818
↓ 1 callersMethoddraw_boolean
( self, p: float = 0.5, *, forced: bool | None = None, observe: bool =
hypothesis/src/hypothesis/internal/conjecture/data.py:1051
↓ 1 callersMethoddraw_bytes
( self, min_size: int = 0, max_size: int = COLLECTION_DEFAULT_MAX_SIZE, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:1035
↓ 1 callersMethoddraw_float
( self, value: float, *, constraints: FloatConstraints, was_forced: bool )
hypothesis/src/hypothesis/internal/conjecture/data.py:606
↓ 1 callersMethoddraw_integer
( self, min_value: int | None = None, max_value: int | None = None, *,
hypothesis/src/hypothesis/internal/conjecture/providers.py:1156
↓ 1 callersMethoddraw_integer
(self, value: int, *, was_forced: bool, constraints: dict)
hypothesis/tests/conjecture/test_test_data.py:191
↓ 1 callersFunctiondraw_list
(data)
hypothesis/tests/conjecture/test_engine.py:186
↓ 1 callersMethoddraw_naive_datetime_and_combine
(self, data, tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:380
↓ 1 callersFunctioned
(f, *args)
hypothesis/tests/cover/test_reflection.py:223
↓ 1 callersFunctioneinlabels
(labels)
hypothesis/tests/numpy/test_gufunc.py:137
↓ 1 callersFunctionemails
A strategy for generating email addresses as unicode strings. The address format is specified in :rfc:`5322#section-3.4.1`. Values shrink towa
hypothesis/src/hypothesis/strategies/_internal/core.py:2675
↓ 1 callersFunctionencode
(s: str)
hypothesis/tests/quality/test_shrink_quality.py:491
↓ 1 callersFunctionencode_exponent
Take a floating point exponent and turn it back into the equivalent result from conjecture.
hypothesis/src/hypothesis/internal/conjecture/floats.py:108
↓ 1 callersFunctionensure_python
(version)
tooling/src/hypothesistooling/installers.py:53
↓ 1 callersFunctionensure_rustup
()
tooling/src/hypothesistooling/installers.py:63
↓ 1 callersFunctionensure_stack
()
tooling/src/hypothesistooling/installers.py:91
↓ 1 callersFunctionequivalent
Write source code for a property-based test of ``funcs``. The resulting test checks that calling each of the functions returns an equal value
hypothesis/src/hypothesis/extra/ghostwriter.py:1633
↓ 1 callersFunctionevaluate
(e)
hypothesis/tests/quality/test_shrink_quality.py:416
↓ 1 callersFunctionevaluate_type_alias_type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:378
↓ 1 callersFunctionexecute_explicit_examples
(state, wrapped_test, arguments, kwargs, original_sig)
hypothesis/src/hypothesis/core.py:539
↓ 1 callersFunctionexhaust
(f)
hypothesis/tests/conjecture/test_choice_tree.py:25
↓ 1 callersMethodexplain
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:496
↓ 1 callersMethodexplain_next_call_as
(self, explanation: str)
hypothesis/src/hypothesis/internal/conjecture/engine.py:391
↓ 1 callersFunctionextract_all_attributes
(tree)
hypothesis/src/hypothesis/internal/lambda_sources.py:56
↓ 1 callersFunctionextract_all_lambdas
(tree)
hypothesis/src/hypothesis/internal/lambda_sources.py:43
↓ 1 callersFunctionf
(n)
hypothesis/tests/conjecture/test_local_constants.py:96
↓ 1 callersFunctionf
(chooser)
hypothesis/tests/conjecture/test_choice_tree.py:75
↓ 1 callersFunctionf
(data)
hypothesis/tests/conjecture/test_engine.py:97
↓ 1 callersFunctionf
(data)
hypothesis/tests/datetime/test_pytz_timezones.py:151
↓ 1 callersFunctionf
(n)
hypothesis/tests/quality/test_integers.py:20
↓ 1 callersFunctionf
(n)
hypothesis/tests/cover/test_monitoring.py:40
↓ 1 callersFunctionf
(draw)
hypothesis/tests/cover/test_composite.py:103
↓ 1 callersFunctionf
(s)
hypothesis/tests/cover/test_validation.py:296
↓ 1 callersFunctionf
(x)
hypothesis/tests/cover/test_runner_strategy.py:22
↓ 1 callersFunctionf
(v)
hypothesis/tests/cover/test_lookup_py314.py:46
↓ 1 callersFunctionf2
(n)
hypothesis/tests/nocover/test_randomization.py:40
↓ 1 callersFunctionf_normal
(value)
hypothesis/tests/crosshair/test_crosshair.py:153
↓ 1 callersFunctionf_observability
(value)
hypothesis/tests/crosshair/test_crosshair.py:181
↓ 1 callersFunctionf_verbosity
(value)
hypothesis/tests/crosshair/test_crosshair.py:168
↓ 1 callersMethodfail_in_reify
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:45
↓ 1 callersFunctionfails_with
(e, *, match=None)
hypothesis/tests/common/utils.py:99
↓ 1 callersMethodfetch
(self, key: bytes)
hypothesis/src/hypothesis/database.py:731
↓ 1 callersMethodfetch
(self, key: bytes)
hypothesis/src/hypothesis/database.py:787
↓ 1 callersMethodfetch
(self, key: bytes)
hypothesis/src/hypothesis/database.py:1205
↓ 1 callersFunctionfill_for
(elements, unique, fill, name="")
hypothesis/src/hypothesis/extra/numpy.py:453
↓ 1 callersMethodfilter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:223
↓ 1 callersFunctionfind_annotated_strategy
(annotated_type)
hypothesis/src/hypothesis/strategies/_internal/types.py:509
↓ 1 callersMethodfinish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:333
↓ 1 callersMethodfinish
Record the decisions made in the underlying tree and return a prefix that can be used for the next Chooser to be used.
hypothesis/src/hypothesis/internal/conjecture/shrinking/choicetree.py:95
↓ 1 callersFunctionfisher_yates_shuffle
Shuffle ``ls`` in place, drawing from ``data``. Reversed Fisher-Yates shuffle: swap each element with itself or with a later element. This s
hypothesis/src/hypothesis/internal/conjecture/utils.py:81
↓ 1 callersFunctionflaky_base_exception
(x)
hypothesis/tests/cover/test_testdecorators.py:176
↓ 1 callersFunctionflatten
(lst)
hypothesis/tests/numpy/test_from_type.py:139
↓ 1 callersFunctionflatten
(x)
hypothesis/tests/cover/test_recursive.py:28
↓ 1 callersFunctionfloat_constr
( min_value=-math.inf, max_value=math.inf, *, allow_nan=True, smallest_nonzero_magnitude=S
hypothesis/tests/conjecture/common.py:248
↓ 1 callersFunctionfloat_runner
(start, condition, *, constraints=None)
hypothesis/tests/conjecture/test_float_encoding.py:126
↓ 1 callersFunctionfloating_dtypes
( *, endianness: str = "?", sizes: Literal[16], )
hypothesis/src/hypothesis/extra/numpy.py:796
↓ 1 callersFunctionflush_messages
(db)
hypothesis/tests/redis/test_redis_exampledatabase.py:98
↓ 1 callersFunctionfoo
()
hypothesis/tests/nocover/test_deferred_errors.py:60
↓ 1 callersFunctionfoo
(x)
hypothesis/tests/cover/test_given_error_conditions.py:105
↓ 1 callersFunctionfoo
(μ)
hypothesis/tests/cover/test_unicode_identifiers.py:16
↓ 1 callersFunctionfoo
(x)
hypothesis/tests/cover/test_testdecorators.py:419
↓ 1 callersFunctionfoo
(a, b, c)
hypothesis/tests/cover/test_reflection.py:61
↓ 1 callersFunctionfoo
()
hypothesis/tests/cover/test_verbosity.py:81
↓ 1 callersMethodfoo
(self)
hypothesis/tests/cover/test_lookup.py:896
↓ 1 callersMethodfoo
(self)
hypothesis/tests/cover/test_detection.py:25
↓ 1 callersFunctionforbid
Helper function to avoid Python variable scoping issues.
hypothesis/tests/nocover/test_filtering.py:45
↓ 1 callersFunctionforbid
Helper function to avoid Python variable scoping issues.
hypothesis/tests/nocover/test_sampled_from.py:44
↓ 1 callersFunctionformat
(*, format_all=False)
tooling/src/hypothesistooling/__main__.py:245
↓ 1 callersFunctionformat_lambda
(body)
hypothesis/src/hypothesis/internal/lambda_sources.py:324
↓ 1 callersFunctionformat_ms
Format `times` into a string representing approximate milliseconds. `times` is a collection of durations in seconds.
hypothesis/src/hypothesis/statistics.py:49
↓ 1 callersFunctionfrom_attrs
An internal version of builds(), specialised for Attrs classes.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:73
↓ 1 callersFunctionfrom_attrs_attribute
Infer a strategy from the metadata on an attr.Attribute object.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:93
↓ 1 callersFunctionfrom_form
Return a strategy for examples of ``form``. ``form`` must be an subclass of :class:`~django:django.forms.Form`. Strategies for fields may be
hypothesis/src/hypothesis/extra/django/_impl.py:137
↓ 1 callersMethodfrom_mismatch
( cls, expected_type: str, expected_constraints: ChoiceConstraintsT, actual_ty
hypothesis/src/hypothesis/errors.py:132
↓ 1 callersFunctionfrom_type_guarded
Returns the result of producer, or ... if recursion on thing is encountered
hypothesis/src/hypothesis/strategies/_internal/core.py:1382
↓ 1 callersFunctionfrozen_and_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:107
↓ 1 callersMethodfrozzle
(self, x)
hypothesis/tests/cover/test_lookup_py38.py:234
↓ 1 callersFunctiong
(n2)
hypothesis/tests/cover/test_health_checks.py:210
↓ 1 callersFunctiong
(observation)
hypothesis/tests/cover/test_observability.py:643
↓ 1 callersFunctiong
()
hypothesis/tests/cover/test_reflection.py:343
↓ 1 callersFunctiongc_patches
(slug: str = "")
hypothesis/src/hypothesis/extra/_patching.py:347
↓ 1 callersMethodgen_ignore
(self, data: ConjectureData, draw_state: list[str])
hypothesis/src/hypothesis/extra/lark.py:204
↓ 1 callersMethodgenerate_mutations_from
(self, data: ConjectureData | ConjectureResult)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1375
↓ 1 callersFunctionget_all_exported_names
()
whole_repo_tests/documentation/test_documentation.py:27
↓ 1 callersFunctionget_attribute_by_alias
Get an attrs attribute by its alias, rather than its name (compare getattr(fields, name)). ``target`` is used only to provide a nicer er
hypothesis/src/hypothesis/strategies/_internal/attrs.py:43
← previousnext →1,101–1,200 of 6,609, ranked by callers