MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,299 in github.com/HypothesisWorks/hypothesis

↓ 2 callersMethodhas_existing_examples
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1006
↓ 2 callersFunctionhas_varargs
(*args)
hypothesis/tests/cover/test_validation.py:42
↓ 2 callersFunctionhelper
()
hypothesis/tests/cover/test_lookup.py:649
↓ 2 callersFunctionidentify_ftz_culprits
Find the modules in sys.modules which cause "mod" to be imported.
hypothesis/src/_hypothesis_ftz_detector.py:90
↓ 2 callersMethodin_bounds
(self, value)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:311
↓ 2 callersMethodincorporate_test_data
Takes a ConjectureData or Overrun object updates the current shrink_target if this data represents an improvement over it.
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:418
↓ 2 callersFunctioninner
(x)
hypothesis/tests/cover/test_random_module.py:106
↓ 2 callersFunctioninner
(x)
hypothesis/tests/cover/test_core.py:73
↓ 2 callersFunctioninner
(a: UnknownType)
hypothesis/tests/cover/test_lookup.py:512
↓ 2 callersFunctionint_to_byte
(i: int)
hypothesis/src/hypothesis/internal/compat.py:107
↓ 2 callersFunctioninvalid_test
(x)
hypothesis/tests/nocover/test_modify_inner_test.py:66
↓ 2 callersMethodinverse_cdf
(self, u: float)
hypothesis/src/hypothesis/internal/statistics.py:134
↓ 2 callersFunctionis_a_type_alias_type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:387
↓ 2 callersFunctionis_local_module_file
(path: str)
hypothesis/src/hypothesis/internal/constants_ast.py:249
↓ 2 callersFunctionis_typed_named_tuple
Return True if cls is probably a subtype of `typing.NamedTuple`. Unfortunately types created with `class T(NamedTuple):` actually subclass `t
hypothesis/src/hypothesis/internal/compat.py:111
↓ 2 callersFunctionl
(e,n,t,r)
website/theme/static/prism.js:3
↓ 2 callersFunctionlength_bounds_from_validators
(field)
hypothesis/src/hypothesis/extra/django/_fields.py:218
↓ 2 callersMethodmake_canonical
Convert immutable value into a canonical and hashable, but not necessarily equal, representation of itself. This representation is us
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:137
↓ 2 callersMethodmake_immutable
Convert value into an immutable representation of itself. It is these immutable versions that the shrinker will work on. Defaults to
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:148
↓ 2 callersMethodminimize_nodes
(self, nodes)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1638
↓ 2 callersFunctionnameless_const
(x)
hypothesis/tests/cover/test_searchstrategy.py:77
↓ 2 callersFunctionnew_score
(key)
hypothesis/tests/cover/test_cache_implementation.py:137
↓ 2 callersMethodnew_shrinker
( self, example: ConjectureData | ConjectureResult, predicate: ShrinkPredicateT | None
hypothesis/src/hypothesis/internal/conjecture/engine.py:1691
↓ 2 callersFunctionnext_down_normal
(value: f64, width: u32, allow_subnormal: bool)
hypothesis/rust/src/internal/floats.rs:212
↓ 2 callersFunctionnext_up_n
(f, n)
hypothesis/tests/conjecture/test_data_tree.py:501
↓ 2 callersFunctionnormalize_zero
(f: float)
hypothesis/src/hypothesis/strategies/_internal/random.py:169
↓ 2 callersMethodnote
(self, value: str)
hypothesis/src/hypothesis/internal/conjecture/data.py:1167
↓ 2 callersMethodobserve_information_messages
Called at the end of each |test case| and again at end of the test function. Return an iterable of ``{type: info/alert/error, title: str, con
hypothesis/src/hypothesis/internal/conjecture/providers.py:639
↓ 2 callersMethodobserve_test_case
Called at the end of the |test case| when :ref:`observability <observability>` is enabled. The return value should be a non-symbolic
hypothesis/src/hypothesis/internal/conjecture/providers.py:630
↓ 2 callersFunctionoutput
(s)
hypothesis/src/hypothesis/stateful.py:134
↓ 2 callersFunctionparse_release_file
()
tooling/src/hypothesistooling/release.py:73
↓ 2 callersFunctionparse_release_file_contents
(release_contents, filename)
tooling/src/hypothesistooling/release.py:79
↓ 2 callersMethodper_test_case_context_manager
Returns a context manager which will be entered each time Hypothesis starts generating and executing one |test case|, and exited when
hypothesis/src/hypothesis/internal/conjecture/providers.py:582
↓ 2 callersFunctionpoint_of_divergence
()
tooling/src/hypothesistooling/git.py:49
↓ 2 callersMethodpopulate_bundle
(self)
hypothesis/tests/cover/test_stateful.py:293
↓ 2 callersFunctionpred
(s)
hypothesis/tests/cover/test_regex.py:98
↓ 2 callersFunctionprint_command
(command, args)
tooling/src/hypothesistooling/scripts.py:20
↓ 2 callersFunctionprocess_arguments_to_given
( wrapped_test: Any, arguments: Sequence[object], kwargs: dict[str, object], given_kwargs: dic
hypothesis/src/hypothesis/core.py:740
↓ 2 callersFunctionrandoms
Generates instances of ``random.Random``. The generated Random instances are of a special HypothesisRandom subclass. - If ``note_method_calls
hypothesis/src/hypothesis/strategies/_internal/core.py:1000
↓ 2 callersFunctionrange_indexes
Provides a strategy which generates an :class:`~pandas.Index` whose values are 0, 1, ..., n for some n. Arguments: * min_size is the sma
hypothesis/src/hypothesis/extra/pandas/impl.py:187
↓ 2 callersFunctionregister_field_strategy
Add an entry to the global field-to-strategy lookup used by :func:`~hypothesis.extra.django.from_field`. ``field_type`` must be a subtype of
hypothesis/src/hypothesis/extra/django/_fields.py:333
↓ 2 callersFunctionrelease_date_string
Returns a date string that represents what should be considered "today" for the purposes of releasing, and ensure that we don't change part way
tooling/src/hypothesistooling/release.py:51
↓ 2 callersMethodremove_listener
Removes ``f`` from the list of change listeners. If ``f`` is not in the list of change listeners, silently do nothing.
hypothesis/src/hypothesis/database.py:295
↓ 2 callersFunctionreproduction_decorator
(choices: Iterable[ChoiceT])
hypothesis/src/hypothesis/core.py:418
↓ 2 callersFunctionrestore_recursion_limit
()
hypothesis/tests/common/utils.py:306
↓ 2 callersFunctionrun
()
hypothesis/tests/common/setup.py:26
↓ 2 callersMethodrun
Run for an appropriate number of steps to improve the current value. If self.full is True, will run until no further improvements can
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:93
↓ 2 callersFunctionrun_conformance_test
Test that the given ``Provider`` class conforms to the |PrimitiveProvider| interface. For instance, this tests that ``Provider`` does no
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:338
↓ 2 callersFunctionrun_language_test_for
(root, data, seed)
hypothesis/tests/nocover/test_explore_arbitrary_languages.py:70
↓ 2 callersFunctionrust_msrv
()
tooling/src/hypothesistooling/cargo.py:33
↓ 2 callersFunctions
(draw)
hypothesis/tests/conjecture/test_engine.py:474
↓ 2 callersMethodsave
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:795
↓ 2 callersMethodscore_function
(self, data: ConjectureResult)
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:55
↓ 2 callersFunctionseed_all
()
hypothesis/src/hypothesis/internal/entropy.py:187
↓ 2 callersFunctionseparated_sum
(draw)
hypothesis/tests/quality/test_shrink_quality.py:369
↓ 2 callersMethodsetup_state
(cls)
hypothesis/src/hypothesis/stateful.py:378
↓ 2 callersFunctionshared
Returns a strategy that draws a single shared value per run, drawn from base. Any two shared instances with the same key will share the same value
hypothesis/src/hypothesis/strategies/_internal/core.py:2271
↓ 2 callersMethodshould_generate_more
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1117
↓ 2 callersFunctionshould_trace_file
(fname: str)
hypothesis/src/hypothesis/internal/scrutineer.py:39
↓ 2 callersMethodshrink
( self, example: ConjectureData | ConjectureResult, predicate: ShrinkPredicateT | None
hypothesis/src/hypothesis/internal/conjecture/engine.py:1679
↓ 2 callersMethodshrink
Shrink the value ``initial`` subject to the constraint that it satisfies ``predicate``. Returns the shrunk value.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:83
↓ 2 callersFunctionshrinks
(strategy, nodes, *, allow_sloppy=True, seed=0)
hypothesis/tests/nocover/test_precise_shrinking.py:242
↓ 2 callersFunctionslow
(i)
hypothesis/tests/cover/test_deadline.py:31
↓ 2 callersFunctionslow_test
(n)
hypothesis/tests/nocover/test_threading.py:187
↓ 2 callersMethodstart_span
(self, label: int)
hypothesis/src/hypothesis/internal/conjecture/data.py:1247
↓ 2 callersMethodstop_span
(self, *, discard: bool = False)
hypothesis/src/hypothesis/internal/conjecture/data.py:1262
↓ 2 callersFunctionstoptest_and_hypothesisexception
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:140
↓ 2 callersFunctionstrat
(draw, x=0, /)
hypothesis/tests/cover/test_posonly_args_py38.py:17
↓ 2 callersFunctionsuite_properties_ok
(junit_xml)
hypothesis/tests/pytest/test_junit.py:45
↓ 2 callersFunctiont
(f)
hypothesis/tests/cover/test_functions.py:104
↓ 2 callersFunctiontag_name
()
tooling/src/hypothesistooling/release.py:359
↓ 2 callersFunctiontask
(pred)
hypothesis/tests/nocover/test_exceptiongroup.py:33
↓ 2 callersFunctiontest
(v)
hypothesis/src/hypothesis/core.py:2461
↓ 2 callersFunctiontest
(data)
hypothesis/tests/conjecture/test_engine.py:329
↓ 2 callersFunctiontest
(constraints)
hypothesis/tests/conjecture/test_data_tree.py:427
↓ 2 callersFunctiontest
(b)
hypothesis/tests/nocover/test_duplication.py:37
↓ 2 callersFunctiontest
(x)
hypothesis/tests/common/arguments.py:38
↓ 2 callersFunctiontest
(r)
hypothesis/tests/cover/test_random_module.py:47
↓ 2 callersFunctiontest
(x)
hypothesis/tests/cover/test_control.py:164
↓ 2 callersFunctiontest
(v)
hypothesis/tests/cover/test_find.py:25
↓ 2 callersFunctiontest
(i)
hypothesis/tests/cover/test_testdecorators.py:467
↓ 2 callersFunctiontest
(data)
hypothesis/tests/cover/test_deadline.py:144
↓ 2 callersFunctiontest
(nxt)
hypothesis/tests/cover/test_lookup.py:790
↓ 2 callersFunctiontest_do_nothing
(x)
hypothesis/tests/nocover/test_baseexception.py:44
↓ 2 callersFunctiontest_foo
(x)
hypothesis/tests/cover/test_verbosity.py:59
↓ 2 callersFunctiontest_usage
(i)
hypothesis/tests/cover/test_phases.py:72
↓ 2 callersFunctiontest_works
(x)
hypothesis/tests/cover/test_verbosity.py:33
↓ 2 callersMethodtick
(self)
hypothesis/src/hypothesis/internal/cache.py:280
↓ 2 callersMethodtick
(self)
hypothesis/tests/cover/test_cache_implementation.py:45
↓ 2 callersMethodtiming_report
Return a terminal report describing what was slow.
hypothesis/src/hypothesis/internal/conjecture/engine.py:129
↓ 2 callersFunctionu
(e)
website/theme/static/prism.js:3
↓ 2 callersFunctionupdate_changelog_and_version
()
tooling/src/hypothesistooling/release.py:164
↓ 2 callersFunctionupdate_mantissa
(unbiased_exponent: int, mantissa: int)
hypothesis/src/hypothesis/internal/conjecture/floats.py:165
↓ 2 callersFunctionusing_sqlite
()
hypothesis/src/hypothesis/extra/django/_fields.py:134
↓ 2 callersFunctionvalid_key
(key)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:821
↓ 2 callersFunctionvalidate_time_slice
(max_period, min_period)
hypothesis/src/hypothesis/extra/numpy.py:908
↓ 2 callersFunctionwarn
(msg)
tooling/src/hypothesistooling/__main__.py:264
↓ 2 callersFunctionwarn_on_missing_dtypes
(xp: Any, stubs: list[str])
hypothesis/src/hypothesis/extra/array_api.py:104
↓ 2 callersFunctionwith_collect_coverage
(*, value: bool)
hypothesis/tests/cover/test_observability.py:620
↓ 2 callersFunctionxfail_on_indistinct_nans
xp.unique_value() should return distinct NaNs - if not, tests that (rightly) assume such behaviour will likely fail. For example, NumPy 1.22
hypothesis/tests/array_api/test_arrays.py:39
← previousnext →701–800 of 6,299, ranked by callers