MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

↓ 1 callersMethodsave
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1209
↓ 1 callersMethodsave
(self, k, v)
hypothesis/tests/cover/test_database_backend.py:461
↓ 1 callersFunctionsave_patch
(patch: str, *, slug: str = "")
hypothesis/src/hypothesis/extra/_patching.py:335
↓ 1 callersFunctionscore
(enabled)
hypothesis/tests/nocover/test_targeting.py:66
↓ 1 callersFunctionseed
Seed the randomness for this test. ``seed`` may be any hashable object. No exact meaning for ``seed`` is provided other than that for a
hypothesis/src/hypothesis/core.py:338
↓ 1 callersFunctionseries
Provides a strategy for producing a :class:`pandas.Series`. Arguments: * elements: a strategy that will be used to generate the individual
hypothesis/src/hypothesis/extra/pandas/impl.py:257
↓ 1 callersMethodset_element
(self, val, result, idx, *, fill=False)
hypothesis/src/hypothesis/extra/numpy.py:276
↓ 1 callersMethodsetstate
(self, state)
hypothesis/src/hypothesis/strategies/_internal/random.py:349
↓ 1 callersMethodsetstate
(self, state)
hypothesis/src/hypothesis/strategies/_internal/random.py:425
↓ 1 callersFunctionsetup
(app)
hypothesis/docs/conf.py:110
↓ 1 callersMethodsetup
Runs initial setup code. Convenience function for children that doesn't require messing with the signature of init.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:52
↓ 1 callersMethodsetup
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/floats.py:47
↓ 1 callersMethodshift_right
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:48
↓ 1 callersMethodshort_circuit
Possibly attempt to do some shrinking. If this returns True, the ``run`` method will terminate early without doing any more work.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:164
↓ 1 callersMethodshrink_by_multiples
(self, k)
hypothesis/src/hypothesis/internal/conjecture/shrinking/integer.py:67
↓ 1 callersFunctionsig_of
(name)
hypothesis/src/hypothesis/strategies/_internal/random.py:113
↓ 1 callersFunctionsimplest_failure
(x)
hypothesis/tests/cover/test_traceback_elision.py:25
↓ 1 callersMethodsize
(self, tree)
hypothesis/tests/nocover/test_stateful.py:71
↓ 1 callersFunctionslow_once
(i)
hypothesis/tests/cover/test_deadline.py:119
↓ 1 callersFunctionslow_shrinker
()
hypothesis/tests/conjecture/test_engine.py:108
↓ 1 callersMethodsort_regions
Guarantees that for each i we have tried to swap index i with index i + 1. This uses an adaptive algorithm that works by sorting cont
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:44
↓ 1 callersMethodsort_regions_with_gaps
Guarantees that for each i we have tried to swap index i with index i + 2. This uses an adaptive algorithm that works by sorting cont
hypothesis/src/hypothesis/internal/conjecture/shrinking/ordering.py:64
↓ 1 callersMethodspan_end
Marks the end of a semantically meaningful span of choices. ``discard`` is ``True`` when the draw was filtered out or otherwise marked
hypothesis/src/hypothesis/internal/conjecture/providers.py:745
↓ 1 callersMethodspan_start
Marks the beginning of a semantically meaningful span of choices. Spans are a depth-first tree structure. A span is opened by a call to
hypothesis/src/hypothesis/internal/conjecture/providers.py:687
↓ 1 callersMethodsplit_at
Splits the tree so that it can incorporate a decision at the draw call corresponding to the node at position i. Raises Flaky
hypothesis/src/hypothesis/internal/conjecture/datatree.py:438
↓ 1 callersMethodst_classmethod_then_composite
(draw, cls)
hypothesis/tests/cover/test_composite.py:150
↓ 1 callersMethodst_composite_method
(draw, self)
hypothesis/tests/cover/test_composite.py:169
↓ 1 callersMethodst_composite_then_classmethod
(draw, cls)
hypothesis/tests/cover/test_composite.py:155
↓ 1 callersMethodst_composite_then_staticmethod
(draw)
hypothesis/tests/cover/test_composite.py:165
↓ 1 callersMethodst_staticmethod_then_composite
(draw)
hypothesis/tests/cover/test_composite.py:160
↓ 1 callersFunctionstandard_tox_task
(name, py=ci_version)
tooling/src/hypothesistooling/__main__.py:771
↓ 1 callersMethodstart_span
Called at the start of each span, with ``i`` the index of the span and ``label_index`` the index of its label in ``self.spans.labels``
hypothesis/src/hypothesis/internal/conjecture/data.py:286
↓ 1 callersMethodstart_span
(self, i: int, label_index: int)
hypothesis/src/hypothesis/internal/conjecture/data.py:395
↓ 1 callersFunctionstate_for_seed
(data, seed)
hypothesis/src/hypothesis/strategies/_internal/random.py:155
↓ 1 callersMethodstep
(self, shrink_pass: ShrinkPass, *, random_order: bool = False)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:813
↓ 1 callersMethodstop_span
Called at the end of each span, with ``i`` the index of the span and ``discarded`` being ``True`` if ``stop_span`` was called with ``d
hypothesis/src/hypothesis/internal/conjecture/data.py:291
↓ 1 callersMethodstop_span
(self, *, discard: bool)
hypothesis/src/hypothesis/internal/conjecture/data.py:341
↓ 1 callersFunctionstrat_one
(draw)
hypothesis/tests/cover/test_regressions.py:38
↓ 1 callersFunctionstrat_two
(draw)
hypothesis/tests/cover/test_regressions.py:43
↓ 1 callersFunctionstrip_trailing_whitespace
Patches have whitespace-only lines; strip that out.
hypothesis/tests/patching/test_patching.py:63
↓ 1 callersFunctionstuff
(*args)
hypothesis/tests/cover/test_composite.py:95
↓ 1 callersMethodswap
Swap the elements ls[i], ls[j].
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:227
↓ 1 callersFunctiont
()
hypothesis/tests/conjecture/test_shrinker.py:427
↓ 1 callersFunctiont
(s)
hypothesis/tests/cover/test_explicit_examples.py:335
↓ 1 callersFunctiontags
()
tooling/src/hypothesistooling/git.py:17
↓ 1 callersFunctiontask
(if_changed=())
tooling/src/hypothesistooling/__main__.py:63
↓ 1 callersFunctiontask1
(d: DataObject)
hypothesis/tests/nocover/test_exceptiongroup.py:156
↓ 1 callersFunctiontask2
(d: DataObject)
hypothesis/tests/nocover/test_exceptiongroup.py:159
↓ 1 callersFunctiontask_invalid_argument
(d: DataObject)
hypothesis/tests/nocover/test_exceptiongroup.py:117
↓ 1 callersFunctiontask_stoptest
(d: DataObject)
hypothesis/tests/nocover/test_exceptiongroup.py:112
↓ 1 callersFunctiontasks
Print a list of all task names supported by the build system.
tooling/src/hypothesistooling/__main__.py:911
↓ 1 callersMethodteardown
Called after a run has finished executing to clean up any necessary state. Does nothing by default.
hypothesis/src/hypothesis/stateful.py:488
↓ 1 callersMethodteardown
(self)
hypothesis/tests/nocover/test_strategy_state.py:49
↓ 1 callersFunctiontemp_register_profile
(name, parent, **kwargs)
hypothesis/tests/cover/test_settings.py:54
↓ 1 callersFunctiontest
(n)
hypothesis/tests/crosshair/test_crosshair.py:215
↓ 1 callersFunctiontest
(value)
hypothesis/tests/conjecture/test_provider.py:200
↓ 1 callersFunctiontest
(i)
hypothesis/tests/nocover/test_database_usage.py:154
↓ 1 callersFunctiontest
(x)
hypothesis/tests/nocover/test_integer_ranges.py:24
↓ 1 callersFunctiontest
(x)
hypothesis/tests/nocover/test_deferred_errors.py:37
↓ 1 callersFunctiontest
(ls)
hypothesis/tests/nocover/test_targeting.py:75
↓ 1 callersFunctiontest
(rnd, i)
hypothesis/tests/nocover/test_limits.py:22
↓ 1 callersFunctiontest
(x)
hypothesis/tests/nocover/test_modify_inner_test.py:99
↓ 1 callersFunctiontest
(x)
hypothesis/tests/array_api/test_arrays.py:259
↓ 1 callersFunctiontest
(i)
hypothesis/tests/cover/test_debug_information.py:26
↓ 1 callersFunctiontest
(s)
hypothesis/tests/cover/test_fuzz_one_input.py:39
↓ 1 callersFunctiontest
(s)
hypothesis/tests/cover/test_regex.py:510
↓ 1 callersFunctiontest
(d)
hypothesis/tests/cover/test_error_in_draw.py:22
↓ 1 callersFunctiontest
(f)
hypothesis/tests/cover/test_float_nastiness.py:126
↓ 1 callersFunctiontest
(e)
hypothesis/tests/cover/test_deferred_strategies.py:101
↓ 1 callersFunctiontest
(x, y)
hypothesis/tests/cover/test_falsifying_example_output.py:27
↓ 1 callersFunctiontest
(v)
hypothesis/tests/cover/test_regressions.py:60
↓ 1 callersMethodtest
(self, i)
hypothesis/tests/nocover/test_cacheable.py:64
↓ 1 callersMethodtest
(self, _)
hypothesis/tests/cover/test_health_checks.py:155
↓ 1 callersFunctiontest1
(x)
hypothesis/tests/cover/test_health_checks.py:80
↓ 1 callersFunctiontest2
(x)
hypothesis/tests/cover/test_health_checks.py:90
↓ 1 callersFunctiontest_always_fails
(data)
hypothesis/tests/cover/test_reproduce_failure.py:223
↓ 1 callersFunctiontest_assume_x
(x)
hypothesis/tests/cover/test_given_error_conditions.py:29
↓ 1 callersFunctiontest_blah
(x, rnd)
hypothesis/tests/nocover/test_randomization.py:62
↓ 1 callersMethodtest_blah
(self)
hypothesis/tests/cover/test_stateful.py:526
↓ 1 callersMethodtest_boom
(self, x)
hypothesis/tests/cover/test_executors.py:65
↓ 1 callersMethodtest_does_not_break_other_things
(self, unused)
hypothesis/tests/django/toystore/test_basic_configuration.py:64
↓ 1 callersFunctiontest_fails_with_note
(data)
hypothesis/tests/cover/test_observability.py:159
↓ 1 callersFunctiontest_false_is_false
(params)
hypothesis/tests/cover/test_regressions.py:102
↓ 1 callersFunctiontest_flaky_slow
(i)
hypothesis/tests/cover/test_deadline.py:64
↓ 1 callersFunctiontest_fn
(x, y)
hypothesis/tests/nocover/test_interesting_origin.py:57
↓ 1 callersFunctiontest_foo_spec
(bar, inp)
hypothesis/tests/cover/test_regressions.py:80
↓ 1 callersFunctiontest_func
(n)
hypothesis/tests/nocover/test_skipping.py:54
↓ 1 callersFunctiontest_function
(data)
hypothesis/tests/conjecture/test_engine.py:1061
↓ 1 callersMethodtest_hi
(self, x)
hypothesis/tests/cover/test_explicit_examples.py:59
↓ 1 callersFunctiontest_in_range
(r)
hypothesis/tests/nocover/test_simple_numbers.py:174
↓ 1 callersFunctiontest_inner
(x)
hypothesis/tests/cover/test_reproduce_failure.py:79
↓ 1 callersFunctiontest_int
(x)
hypothesis/tests/cover/test_reporting.py:26
↓ 1 callersFunctiontest_is_an_int
(x)
hypothesis/tests/cover/test_testdecorators.py:240
↓ 1 callersFunctiontest_is_bounded
(t, x)
hypothesis/tests/cover/test_testdecorators.py:271
↓ 1 callersFunctiontest_is_cool
(i)
hypothesis/tests/cover/test_testdecorators.py:457
↓ 1 callersFunctiontest_is_filtered
(x)
hypothesis/tests/nocover/test_filtering.py:23
↓ 1 callersFunctiontest_is_t
(x)
hypothesis/tests/numpy/test_from_dtype.py:71
↓ 1 callersMethodtest_method_with_bad_strategy
(self, x)
hypothesis/tests/cover/test_core.py:115
↓ 1 callersFunctiontest_nest
(y)
hypothesis/tests/nocover/test_randomization.py:67
↓ 1 callersFunctiontest_never_runs
(x)
hypothesis/tests/cover/test_given_error_conditions.py:37
← previousnext →1,301–1,400 of 6,164, ranked by callers