MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

↓ 1 callersFunctionis_pytz_timezone
(tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:30
↓ 1 callersFunctionis_simple
(f: float)
hypothesis/src/hypothesis/internal/conjecture/floats.py:212
↓ 1 callersFunctionis_sphinx
(f)
whole_repo_tests/whole_repo/test_rst_is_valid.py:20
↓ 1 callersFunctionis_square
(m)
hypothesis/tests/cover/test_composite.py:122
↓ 1 callersFunctionis_typing_literal
(thing: object)
hypothesis/src/hypothesis/strategies/_internal/types.py:399
↓ 1 callersFunctionjust_draw_columns
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:601
↓ 1 callersMethodkill_branch
Mark this part of the tree as not worth re-exploring.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1131
↓ 1 callersMethodkill_branch
Mark this part of the tree as not worth re-exploring.
hypothesis/src/hypothesis/internal/conjecture/data.py:542
↓ 1 callersFunctionlambda_description
Returns a syntactically-valid expression describing `f`. This is often, but not always, the exact lambda definition string which appears in t
hypothesis/src/hypothesis/internal/lambda_sources.py:393
↓ 1 callersMethodleft_is_better
Returns True if the left is strictly simpler than the right according to the standards of this shrinker.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:172
↓ 1 callersMethodleft_is_better
(self, left, right)
hypothesis/src/hypothesis/internal/conjecture/shrinking/collection.py:35
↓ 1 callersFunctionlistener
(event)
hypothesis/tests/watchdog/test_database.py:70
↓ 1 callersFunctionlists_of_length
(n)
hypothesis/tests/quality/test_shrink_quality.py:147
↓ 1 callersFunctionlocal_file
(name)
tooling/setup.py:16
↓ 1 callersFunctionlone_user_error
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:81
↓ 1 callersFunctionmake_
(how, *args, **kwargs)
hypothesis/src/hypothesis/extra/ghostwriter.py:1253
↓ 1 callersFunctionmaker
( sub_property: str, args: str, body: str, right: str | None = None, )
hypothesis/src/hypothesis/extra/ghostwriter.py:1755
↓ 1 callersMethodmark_forced
Note that the draw at node i was forced.
hypothesis/src/hypothesis/internal/conjecture/datatree.py:429
↓ 1 callersMethodmask_high_bits
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:52
↓ 1 callersFunctionmatrix
(draw)
hypothesis/tests/cover/test_composite.py:112
↓ 1 callersFunctionmaybe_pad
Attempt to insert padding around the result of a regex draw while preserving the match.
hypothesis/src/hypothesis/strategies/_internal/regex.py:225
↓ 1 callersFunctionmerge_base
(a, b)
tooling/src/hypothesistooling/git.py:45
↓ 1 callersFunctionmerge_preds
(*con_predicates: ConstructivePredicate)
hypothesis/src/hypothesis/internal/filtering.py:134
↓ 1 callersFunctionminimal_for_strategy
(s)
hypothesis/tests/nocover/test_precise_shrinking.py:150
↓ 1 callersFunctionminimal_nodes_for_strategy
(s)
hypothesis/tests/nocover/test_precise_shrinking.py:154
↓ 1 callersFunctionmodified_files
()
tooling/src/hypothesistooling/git.py:98
↓ 1 callersMethodmove
Move ``value`` from key ``src`` to key ``dest``. Equivalent to ``delete(src, value)`` followed by ``save(src, value)``, but
hypothesis/src/hypothesis/database.py:255
↓ 1 callersMethodmove
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:803
↓ 1 callersMethodmove
(self, src: bytes, dest: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1217
↓ 1 callersFunctionmultiple_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:118
↓ 1 callersFunctionmultiple_stoptest_2
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:129
↓ 1 callersFunctionnested_dtypes
Return the most-general dtype strategy. Elements drawn from this strategy may be simple (from the subtype_strategy), or several such values d
hypothesis/src/hypothesis/extra/numpy.py:1040
↓ 1 callersFunctionnested_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:94
↓ 1 callersMethodnew_entry
Called when a key is written that does not currently appear in the map. Returns the score to associate with the key.
hypothesis/src/hypothesis/internal/cache.py:179
↓ 1 callersFunctionnew_given_signature
Make an updated signature for the wrapped test.
hypothesis/src/hypothesis/core.py:808
↓ 1 callersFunctionnext_up_normal
(value: float, width: int, *, allow_subnormal: bool)
hypothesis/src/hypothesis/internal/floats.py:121
↓ 1 callersFunctionnodes
(draw, *, was_forced=None, choice_types=None)
hypothesis/tests/conjecture/common.py:171
↓ 1 callersFunctionnodes_inline
For inline-creating a choice node or list of choice nodes, where you don't care about the constraints. This uses maximally-permissable constr
hypothesis/tests/conjecture/common.py:187
↓ 1 callersFunctionnote_statistics
(stats_dict: "StatisticsDict")
hypothesis/src/hypothesis/statistics.py:25
↓ 1 callersFunctionnotice_initialization_restarted
Reset _first_postinit_what, so that we don't think we're in post-init. Additionally, if it was set that means that there has been a sideeffect tha
hypothesis/src/hypothesis/configuration.py:124
↓ 1 callersFunctionnumeric_bounds_from_ast
Take an AST; return a ConstructivePredicate. >>> lambda x: x >= 0 {"min_value": 0}, None >>> lambda x: x < 10 {"max_value": 10, "excl
hypothesis/src/hypothesis/internal/filtering.py:178
↓ 1 callersFunctiono
(e,n,t,r,s,g)
website/theme/static/prism.js:3
↓ 1 callersMethodobserve_for_provider
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:971
↓ 1 callersFunctionoffset
(timezone)
hypothesis/tests/datetime/test_dateutil_timezones.py:83
↓ 1 callersMethodon_access
Called every time a key that is already in the map is read or written. Returns the new score for the key.
hypothesis/src/hypothesis/internal/cache.py:187
↓ 1 callersMethodon_evict
Called after a key has been evicted, with the score it had had at the point of eviction.
hypothesis/src/hypothesis/internal/cache.py:195
↓ 1 callersMethodon_evict
Register a listener function that will be called with data when it gets removed from the front because something else dominates it.
hypothesis/src/hypothesis/internal/conjecture/pareto.py:257
↓ 1 callersFunctionoops
(*args)
hypothesis/tests/cover/test_validation.py:101
↓ 1 callersFunctionoops
(s)
hypothesis/tests/cover/test_flakiness.py:132
↓ 1 callersFunctionoptional_union_parameter
(a: float, b: float | int | None)
hypothesis/tests/ghostwriter/test_expected_output.py:106
↓ 1 callersFunctionordered_intersection
Set union of n sequences, ordered for reproducibility across runs.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:201
↓ 1 callersMethodpassing_choice_sequences
Return a collection of choice sequence nodes which cause the test to pass. Optionally restrict this by a certain prefix, which is useful for e
hypothesis/src/hypothesis/internal/conjecture/engine.py:1712
↓ 1 callersMethodpdf
(self, x: float)
hypothesis/src/hypothesis/internal/statistics.py:138
↓ 1 callersMethodper_test_case_context_manager
(self)
hypothesis/tests/conjecture/test_provider.py:773
↓ 1 callersFunctionplot
(data, out)
hypothesis/benchmark/graph.py:114
↓ 1 callersFunctionplot_vega
(vega_spec, data, *, to, parameters=None)
hypothesis/benchmark/graph.py:19
↓ 1 callersFunctionpop
(l)
hypothesis/tests/conjecture/test_junkdrawer.py:114
↓ 1 callersMethodprep_args_kwargs_from_strategies
( self, kwarg_strategies: dict[str, Any], )
hypothesis/src/hypothesis/control.py:211
↓ 1 callersFunctionpretty_file_name
(f: str)
hypothesis/src/hypothesis/internal/coverage.py:37
↓ 1 callersFunctionpush_tag
(tagname)
tooling/src/hypothesistooling/git.py:88
↓ 1 callersFunctionraise_hypothesis_usage_error
(msg)
hypothesis/src/_hypothesis_pytestplugin.py:209
↓ 1 callersFunctionrandom_func
(x)
hypothesis/tests/cover/test_regressions.py:111
↓ 1 callersMethodrealize
(self, value, *, for_failure=False)
hypothesis/tests/conjecture/test_provider.py:421
↓ 1 callersFunctionrealize_choices
(data: ConjectureData, *, for_failure: bool)
hypothesis/src/hypothesis/internal/conjecture/engine.py:255
↓ 1 callersFunctionrecord_and_test_size
(xs)
hypothesis/tests/nocover/test_flatmap.py:59
↓ 1 callersFunctionrecord_branch
(name, value)
hypothesis/src/hypothesis/internal/coverage.py:61
↓ 1 callersMethodrecord_choice
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:329
↓ 1 callersMethodrecord_for_health_check
(self, data: ConjectureData)
hypothesis/src/hypothesis/internal/conjecture/engine.py:789
↓ 1 callersFunctionrecur
(i)
hypothesis/tests/conjecture/test_junkdrawer.py:200
↓ 1 callersFunctionrecur
(i, data)
hypothesis/tests/conjecture/test_engine.py:163
↓ 1 callersFunctionrecur2
(strat: SearchStrategy)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:169
↓ 1 callersFunctionrecurse
(codes)
hypothesis/src/hypothesis/strategies/_internal/regex.py:369
↓ 1 callersMethodreduce_each_alternative
This is a pass that is designed to rerandomise use of the one_of strategy or things that look like it, in order to try to move from la
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:717
↓ 1 callersFunctionregister_for
(field_type)
hypothesis/src/hypothesis/extra/django/_fields.py:113
↓ 1 callersFunctionregister_type_strategy
Add an entry to the global type-to-strategy lookup. This lookup is used in :func:`~hypothesis.strategies.builds` and |@given|. :func:`~h
hypothesis/src/hypothesis/strategies/_internal/core.py:2503
↓ 1 callersFunctionremove_consecutive_newlines_in_rst
(path: Path)
tooling/src/hypothesistooling/__main__.py:216
↓ 1 callersFunctionreplace_tzinfo
(value, timezone)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:37
↓ 1 callersMethodreplay_choices
Called when Hypothesis has discovered a choice sequence which the provider may wish to enqueue to replay under its own instrumentatio
hypothesis/src/hypothesis/internal/conjecture/providers.py:618
↓ 1 callersFunctionreqs_kwonly
(*, a, b)
hypothesis/tests/cover/test_annotations.py:61
↓ 1 callersFunctionrequires_arg
Similar to the enum.Enum.__call__ method.
hypothesis/tests/cover/test_direct_strategies.py:571
↓ 1 callersFunctionresolve_strategies
(typ)
hypothesis/src/hypothesis/strategies/_internal/types.py:1263
↓ 1 callersFunctionrestore_all
()
hypothesis/src/hypothesis/internal/entropy.py:228
↓ 1 callersFunctionresult
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:324
↓ 1 callersFunctionreuse_group
(draw, group_name)
hypothesis/src/hypothesis/strategies/_internal/regex.py:84
↓ 1 callersFunctionreverse64
Reverse a 64-bit integer bitwise. We do this by breaking it up into 8 bytes. The 64-bit integer is then the concatenation of each of these by
hypothesis/src/hypothesis/internal/conjecture/floats.py:131
↓ 1 callersFunctionreverse_bits
(x: int, n: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:158
↓ 1 callersFunctionrow
()
hypothesis/src/hypothesis/extra/pandas/impl.py:543
↓ 1 callersFunctionrows_only
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:540
↓ 1 callersMethodrule_label
(self, name: str)
hypothesis/src/hypothesis/extra/lark.py:163
↓ 1 callersFunctionrun
()
hypothesis/src/hypothesis/entry_points.py:22
↓ 1 callersMethodrun
(self)
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:52
↓ 1 callersMethodrun_engine
Run the test function many times, on database input and generated input, using the Conjecture engine.
hypothesis/src/hypothesis/core.py:1391
↓ 1 callersFunctionrun_in_process
(fn: Callable[..., FTZCulprits], *args: object)
hypothesis/src/_hypothesis_ftz_detector.py:51
↓ 1 callersFunctionrun_locally
()
hypothesis/tests/nocover/test_cacheable.py:60
↓ 1 callersMethodrun_node_program
Node programs are a mini-DSL for node rewriting, defined as a sequence of commands that can be run at some index into the nodes Comma
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1857
↓ 1 callersMethodrun_step
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:40
↓ 1 callersMethodrun_step
Run a single step of the main shrink loop, attempting to improve the current value.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:177
↓ 1 callersFunctionrun_test
()
hypothesis/tests/cover/test_testdecorators.py:356
↓ 1 callersFunctionrun_to_data
(f)
hypothesis/tests/conjecture/common.py:55
↓ 1 callersFunctionrun_to_notes
(TestClass)
hypothesis/tests/nocover/test_stateful.py:29
← previousnext →1,201–1,300 of 6,164, ranked by callers