MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,164 in github.com/HypothesisWorks/hypothesis

↓ 3 callersFunctiontest_not_long_str
(x)
hypothesis/tests/cover/test_explicit_examples.py:90
↓ 3 callersFunctiontool_path
(name)
tooling/src/hypothesistooling/scripts.py:62
↓ 3 callersFunctiontry_issubclass
(thing, superclass)
hypothesis/src/hypothesis/strategies/_internal/types.py:282
↓ 3 callersMethodupdate_count
(self, *, condition: bool)
hypothesis/src/hypothesis/internal/observability.py:78
↓ 3 callersFunctionvalidate_deprecation
()
hypothesis/tests/common/utils.py:113
↓ 3 callersFunctionvalues
(draw)
hypothesis/tests/conjecture/test_choice.py:591
↓ 3 callersFunctionwith_observability_callback
A simple context manager which calls |add_observability_callback| on ``f`` when it enters and |remove_observability_callback| on ``f`` when i
hypothesis/src/hypothesis/internal/observability.py:330
↓ 2 callersMethod__entry_was_accessed
(self, i: int)
hypothesis/src/hypothesis/internal/cache.py:212
↓ 2 callersMethod__init__
(self, seed, note_method_calls)
hypothesis/src/hypothesis/strategies/_internal/random.py:393
↓ 2 callersMethod__init__
(self, conjecturedata: Optional["ConjectureData"], /)
hypothesis/src/hypothesis/internal/conjecture/providers.py:1279
↓ 2 callersMethod__init__
(self, poison_chance)
hypothesis/tests/quality/test_poisoned_lists.py:26
↓ 2 callersMethod__init__
(self)
hypothesis/tests/cover/test_database_backend.py:797
↓ 2 callersFunction__python_executable
(version)
tooling/src/hypothesistooling/installers.py:38
↓ 2 callersMethod__update_exhausted
(self)
hypothesis/src/hypothesis/internal/conjecture/datatree.py:1199
↓ 2 callersMethod__with_transform
(self, method, fn)
hypothesis/src/hypothesis/strategies/_internal/lazy.py:127
↓ 2 callersMethod_add_constant
(self, value: object)
hypothesis/src/hypothesis/internal/constants_ast.py:112
↓ 2 callersFunction_any_hypothesis_option
(config)
hypothesis/src/_hypothesis_pytestplugin.py:131
↓ 2 callersMethod_archive_directory_db
(self)
hypothesis/tests/cover/test_database_backend.py:442
↓ 2 callersMethod_array_or_list
( code: str, contents: Iterable[int] )
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:96
↓ 2 callersFunction_boolean_dtypes
Return a strategy for just the boolean dtype object.
hypothesis/src/hypothesis/extra/array_api.py:598
↓ 2 callersFunction_calc_p_continue
Return the p_continue which will generate the desired average size.
hypothesis/src/hypothesis/internal/conjecture/utils.py:364
↓ 2 callersFunction_calling_function_location
(what: str, frame: Any)
hypothesis/src/hypothesis/control.py:37
↓ 2 callersFunction_collection_constraints
( draw: DrawFn, *, forced: Any | None, use_min_size: bool | None = None, use_max_size: boo
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:167
↓ 2 callersFunction_complex_dtypes
Return a strategy for complex dtype objects. ``sizes`` contains the complex sizes in bits, defaulting to ``(64, 128)`` which covers all valid
hypothesis/src/hypothesis/extra/array_api.py:709
↓ 2 callersFunction_constants_file_str
(constants: Constants)
hypothesis/src/hypothesis/internal/constants_ast.py:192
↓ 2 callersFunction_constants_from_source
(source: str | bytes, *, limit: bool)
hypothesis/src/hypothesis/internal/constants_ast.py:178
↓ 2 callersFunction_convert_targets
Single validator and converter for target arguments.
hypothesis/src/hypothesis/stateful.py:698
↓ 2 callersFunction_count_leaves
(tree)
hypothesis/tests/cover/test_recursive.py:127
↓ 2 callersFunction_dedupe_exceptions
(exc: tuple[type[Exception], ...])
hypothesis/src/hypothesis/extra/ghostwriter.py:151
↓ 2 callersMethod_deliver_information_message
( self, *, type: InfoObservationType, title: str, content: str | dict )
hypothesis/src/hypothesis/core.py:1378
↓ 2 callersMethod_draw_collection
(self, min_size, max_size, *, alphabet_size)
hypothesis/src/hypothesis/internal/conjecture/providers.py:1207
↓ 2 callersMethod_ensure_directory_exists
(self)
hypothesis/src/hypothesis/database.py:452
↓ 2 callersFunction_exception_string
(except_: tuple[type[Exception], ...])
hypothesis/src/hypothesis/extra/ghostwriter.py:179
↓ 2 callersMethod_expect_delete
(self, k, v)
hypothesis/tests/cover/test_database_backend.py:603
↓ 2 callersMethod_expect_event
(self, event_type, args)
hypothesis/tests/cover/test_database_backend.py:599
↓ 2 callersMethod_expect_save
(self, k, v)
hypothesis/tests/cover/test_database_backend.py:608
↓ 2 callersFunction_floating_dtypes
Return a strategy for real-valued floating-point dtype objects. ``sizes`` contains the floating-point sizes in bits, defaulting to ``(32, 64)
hypothesis/src/hypothesis/extra/array_api.py:691
↓ 2 callersFunction_from_dtype
Return a strategy for any value of the given dtype. Values generated are of the Python scalar which is :xp-ref:`promotable <type_promotion.ht
hypothesis/src/hypothesis/extra/array_api.py:175
↓ 2 callersFunction_from_type_deferred
(thing: type[Ex])
hypothesis/src/hypothesis/strategies/_internal/core.py:1306
↓ 2 callersMethod_get_children_cache
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *, key: ChoiceT )
hypothesis/src/hypothesis/internal/conjecture/datatree.py:903
↓ 2 callersFunction_get_constraints
(args: tuple[Any, ...])
hypothesis/src/hypothesis/strategies/_internal/types.py:428
↓ 2 callersFunction_get_local_constants
()
hypothesis/src/hypothesis/internal/conjecture/providers.py:325
↓ 2 callersFunction_get_module_helper
(obj)
hypothesis/src/hypothesis/extra/ghostwriter.py:727
↓ 2 callersFunction_get_strategies
Return a dict of strategies for the union of arguments to `funcs`. If `pass_result_to_next_func` is True, assume that the result of each function
hypothesis/src/hypothesis/extra/ghostwriter.py:533
↓ 2 callersFunction_get_varnames
(funcs)
hypothesis/src/hypothesis/extra/ghostwriter.py:1536
↓ 2 callersFunction_gitignore_storage_dir_script
(*, home_dir=None)
hypothesis/tests/cover/test_filestorage.py:56
↓ 2 callersFunction_has_surrogate
(choice)
hypothesis/tests/cover/test_observability.py:462
↓ 2 callersFunction_imports_for_strategy
(strategy)
hypothesis/src/hypothesis/extra/ghostwriter.py:611
↓ 2 callersMethod_int_value
(value: "Verbosity")
hypothesis/src/hypothesis/_settings.py:118
↓ 2 callersFunction_integer_dtypes
Return a strategy for signed integer dtype objects. ``sizes`` contains the signed integer sizes in bits, defaulting to ``(8, 16, 32, 64)`` wh
hypothesis/src/hypothesis/extra/array_api.py:653
↓ 2 callersFunction_is_hashable
(value: object)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:567
↓ 2 callersMethod_join
(self, timeout: float | None = None)
hypothesis/src/hypothesis/database.py:1199
↓ 2 callersFunction_join_argument_annotations
( annotations: Iterable[_AnnotationData | None], )
hypothesis/src/hypothesis/extra/ghostwriter.py:963
↓ 2 callersFunction_join_generics
( origin_type_data: tuple[str, set[str]] | None, annotations: Iterable[_AnnotationData | None], )
hypothesis/src/hypothesis/extra/ghostwriter.py:937
↓ 2 callersMethod_log_phase_statistics
( self, phase: Literal["reuse", "generate", "shrink", "explain"] )
hypothesis/src/hypothesis/internal/conjecture/engine.py:384
↓ 2 callersFunction_model_choice_strategy
(field)
hypothesis/src/hypothesis/extra/django/_fields.py:284
↓ 2 callersFunction_node_pretty
( choice_type: ChoiceTypeT, value: ChoiceT, constraints: ChoiceConstraintsT, *, forced: bo
hypothesis/src/hypothesis/internal/conjecture/datatree.py:73
↓ 2 callersFunction_num_days_in_month
Branchless equivalent of ``monthrange(year, month)[1]`` for valid inputs. Written using only arithmetic and (in)equality, with no branching or in
hypothesis/src/hypothesis/strategies/_internal/datetime.py:90
↓ 2 callersFunction_numeric_dtypes
Return a strategy for all numeric dtype objects.
hypothesis/src/hypothesis/extra/array_api.py:617
↓ 2 callersFunction_pack_uleb128
Serialize an integer into variable-length bytes. For each byte, the first 7 bits represent (part of) the integer, while the last bit indicate
hypothesis/src/hypothesis/database.py:1228
↓ 2 callersFunction_params_to_dict
( params: Iterable[inspect.Parameter], )
hypothesis/src/hypothesis/extra/ghostwriter.py:507
↓ 2 callersMethod_publish
(self, event)
hypothesis/src/hypothesis/extra/redis.py:92
↓ 2 callersFunction_raise_to_user
Helper function for attaching notes and grouping multiple errors.
hypothesis/src/hypothesis/core.py:1632
↓ 2 callersFunction_real_dtypes
Return a strategy for all real-valued dtype objects.
hypothesis/src/hypothesis/extra/array_api.py:608
↓ 2 callersFunction_reject_dtype_class
(dtype: object)
hypothesis/src/hypothesis/extra/numpy.py:113
↓ 2 callersMethod_remove
(self, data: ConjectureResult)
hypothesis/src/hypothesis/internal/conjecture/pareto.py:281
↓ 2 callersFunction_resolve_forward_ref_in_caller
Try to resolve a forward reference name by walking up the call stack. This allows us to resolve recursive forward references like: A = li
hypothesis/src/hypothesis/strategies/_internal/types.py:231
↓ 2 callersFunction_run_and_get_junit
(testdir, *args)
hypothesis/tests/pytest/test_junit.py:31
↓ 2 callersFunction_serialize_event
( event: Any, *, allowed_types: tuple[type, ...] = (str,), avoid_realization: bool )
hypothesis/src/hypothesis/control.py:306
↓ 2 callersMethod_setrecursionlimit
(self, new_limit: int, *, check: bool = True)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:315
↓ 2 callersMethod_should_trace
(self)
hypothesis/src/hypothesis/core.py:962
↓ 2 callersFunction_size_to_index
(size: int, *, alphabet_size: int)
hypothesis/src/hypothesis/internal/conjecture/choice.py:180
↓ 2 callersFunction_st_strategy_names
Replace strategy name() with st.name(). Uses a tricky re.sub() to avoid problems with frozensets() matching sets() too.
hypothesis/src/hypothesis/extra/ghostwriter.py:807
↓ 2 callersMethod_stop_listening
Called whenever no change listeners remain on the database. ``_stop_listening`` and ``_start_listening`` are guaranteed to alternate
hypothesis/src/hypothesis/database.py:352
↓ 2 callersFunction_strategy
Convert SRE regex parse tree to strategy that generates strings matching that regex represented by that parse tree. `codes` is either a list
hypothesis/src/hypothesis/strategies/_internal/regex.py:335
↓ 2 callersFunction_string_filter_rewrite
(self, kind, condition)
hypothesis/src/hypothesis/strategies/_internal/strings.py:236
↓ 2 callersFunction_unpack_uleb128
Inverts _pack_uleb128, and also returns the index at which at which we stopped reading.
hypothesis/src/hypothesis/database.py:1252
↓ 2 callersFunction_unsigned_integer_dtypes
Return a strategy for unsigned integer dtype objects. ``sizes`` contains the unsigned integer sizes in bits, defaulting to ``(8, 16, 32, 64)`
hypothesis/src/hypothesis/extra/array_api.py:671
↓ 2 callersMethod_urandom
(size: int)
hypothesis/src/hypothesis/internal/conjecture/providers.py:1248
↓ 2 callersFunction_with_any_registered
()
hypothesis/src/hypothesis/extra/ghostwriter.py:515
↓ 2 callersMethodadd_listener
Add a change listener. ``f`` will be called whenever a value is saved, deleted, or moved in the database. ``f`` can be calle
hypothesis/src/hypothesis/database.py:271
↓ 2 callersFunctionany_call_of_method
(draw, method)
hypothesis/tests/cover/test_randoms.py:85
↓ 2 callersFunctionargument_validation_test
(bad_args)
hypothesis/tests/common/arguments.py:28
↓ 2 callersFunctionarray_dtypes
Return a strategy for generating array (compound) dtypes, with members drawn from the given subtype strategy.
hypothesis/src/hypothesis/extra/numpy.py:1004
↓ 2 callersFunctionas_general_categories
Return a tuple of Unicode categories in a normalised order. This function expands one-letter designations of a major class to include all sub
hypothesis/src/hypothesis/internal/charmap.py:202
↓ 2 callersFunctionassert_can_release
()
tooling/src/hypothesistooling/git.py:94
↓ 2 callersFunctionassert_outcomes
(result, *, errors=0, failed=0)
hypothesis/tests/pytest/test_fixtures.py:194
↓ 2 callersFunctionassert_output_contains_failure
(output, test, **kwargs)
hypothesis/tests/common/utils.py:171
↓ 2 callersFunctionassert_reordered_exponents
(res)
hypothesis/tests/conjecture/test_float_encoding.py:28
↓ 2 callersFunctionassert_valid_range_list
(ls)
hypothesis/tests/cover/test_charmap.py:44
↓ 2 callersFunctionbar
(μ)
hypothesis/tests/cover/test_unicode_identifiers.py:20
↓ 2 callersFunctionbar
(x, **kwargs)
hypothesis/tests/cover/test_reflection.py:68
↓ 2 callersFunctionbatched
(iterable, n, *, strict=False)
hypothesis/src/hypothesis/internal/compat.py:299
↓ 2 callersFunctionbuild_docs
(*, builder="html", only=(), to=None)
tooling/src/hypothesistooling/release.py:127
↓ 2 callersFunctioncalc_label_from_cls
(cls: type)
hypothesis/src/hypothesis/internal/conjecture/utils.py:53
↓ 2 callersFunctioncalc_label_from_hash
(obj: object)
hypothesis/src/hypothesis/internal/conjecture/utils.py:57
↓ 2 callersMethodcall_shrinker
Calls another shrinker class, passing through the relevant context variables. Note we explicitly do not pass through full.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:69
↓ 2 callersFunctioncallback
(observation)
hypothesis/tests/crosshair/test_crosshair.py:202
↓ 2 callersMethodcan_trace
()
hypothesis/src/hypothesis/internal/scrutineer.py:71
↓ 2 callersFunctioncharmap
Return a dict that maps a Unicode category, to a tuple of 2-tuples covering the codepoint intervals for characters in that category. >>> char
hypothesis/src/hypothesis/internal/charmap.py:81
← previousnext →501–600 of 6,164, ranked by callers