MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

Methodtest_from_model_signature
(self)
hypothesis/tests/django/toystore/test_given_models.py:204
Functiontest_from_type_builtin_generic_with_string_forward_ref
()
hypothesis/tests/cover/test_lookup.py:692
Functiontest_from_type_can_be_default_or_annotation
()
hypothesis/tests/nocover/test_build_signature.py:54
Functiontest_from_type_can_be_default_or_annotation
()
hypothesis/tests/cover/test_lookup.py:1269
Functiontest_from_type_resolves_required_posonly_args
(n: CustomInteger)
hypothesis/tests/cover/test_lookup.py:1414
Functiontest_from_type_uses_signature_attribute
(val)
hypothesis/tests/nocover/test_build_signature.py:50
Functiontest_from_type_with_tuple_works
(data, data_class: TestDataClass)
hypothesis/tests/cover/test_lookup_py39.py:118
Functiontest_frozen_and_stoptest
()
hypothesis/tests/cover/test_exceptiongroup.py:102
Functiontest_frozen_dims_signature
()
hypothesis/tests/numpy/test_gufunc.py:44
Functiontest_frozenset_constants
(value)
hypothesis/tests/cover/test_constants_ast.py:159
Functiontest_full_shrink_widens_and_then_minimizes
()
hypothesis/tests/conjecture/test_shrinker.py:1002
Functiontest_fullmatch_generates_example
(pattern, matching_str)
hypothesis/tests/cover/test_regex.py:447
Functiontest_fullmatch_matches
(pattern, eqiv_pattern)
hypothesis/tests/cover/test_regex.py:470
Functiontest_fullmatch_must_be_bool
()
hypothesis/tests/cover/test_regex.py:476
Functiontest_function
(data)
hypothesis/tests/conjecture/test_float_encoding.py:129
Functiontest_function
(data)
hypothesis/tests/nocover/test_precise_shrinking.py:115
Functiontest_function
(data)
hypothesis/tests/quality/test_poisoned_lists.py:76
Functiontest_function
(data)
hypothesis/tests/quality/test_discovery_ability.py:68
Functiontest_function
(data)
hypothesis/tests/quality/test_poisoned_trees.py:77
Functiontest_function
(data)
hypothesis/tests/quality/test_zig_zagging.py:77
Functiontest_function_composition
()
hypothesis/tests/cover/test_nothing.py:44
Functiontest_function_key_distinguishes_alpha_renames
()
hypothesis/tests/cover/test_reflection.py:866
Functiontest_function_lifetime
()
hypothesis/tests/conjecture/test_provider.py:334
Functiontest_function_with_poison
(data)
hypothesis/tests/quality/test_poisoned_trees.py:104
Functiontest_functions_argless_lambda
(f)
hypothesis/tests/cover/test_functions.py:92
Functiontest_functions_default_to_not_tests
()
hypothesis/tests/cover/test_detection.py:16
Functiontest_functions_kw_args
(f)
hypothesis/tests/cover/test_functions.py:83
Functiontest_functions_lambda_with_arg
(f)
hypothesis/tests/cover/test_functions.py:100
Functiontest_functions_no_args
(f)
hypothesis/tests/cover/test_functions.py:59
Functiontest_functions_note_all_calls_to_impure_functions
(f)
hypothesis/tests/cover/test_functions.py:222
Functiontest_functions_note_no_calls_to_constant_functions
(pure)
hypothesis/tests/cover/test_functions.py:241
Functiontest_functions_note_only_first_to_pure_functions
(f)
hypothesis/tests/cover/test_functions.py:232
Functiontest_functions_pure_two_functions_different_args_different_result
(f1, f2)
hypothesis/tests/cover/test_functions.py:200
Functiontest_functions_pure_two_functions_same_args_different_result
(f1, f2, arg1, arg2)
hypothesis/tests/cover/test_functions.py:213
Functiontest_functions_pure_with_different_args
(f, arg1, arg2)
hypothesis/tests/cover/test_functions.py:189
Functiontest_functions_pure_with_same_args
(f, arg1, arg2)
hypothesis/tests/cover/test_functions.py:175
Functiontest_functions_strategy_return_type_inference
(f)
hypothesis/tests/cover/test_functions.py:125
Functiontest_functions_strategy_with_kwonly_args
(f)
hypothesis/tests/cover/test_functions.py:159
Functiontest_functions_supports_find
()
hypothesis/tests/cover/test_functions.py:327
Functiontest_functions_type_tracing
(tmp_path, source, expected)
whole_repo_tests/types/test_mypy.py:264
Functiontest_functions_valid_within_given_invalid_outside
()
hypothesis/tests/cover/test_functions.py:131
Functiontest_functions_with_args
(f)
hypothesis/tests/cover/test_functions.py:70
Functiontest_fuzz_decimals_bounds
(data)
hypothesis/tests/cover/test_numerics.py:90
Functiontest_fuzz_floats_bounds
(data)
hypothesis/tests/cover/test_numerics.py:37
Functiontest_fuzz_fractions_bounds
(data)
hypothesis/tests/cover/test_numerics.py:71
Functiontest_fuzz_one_input
(buffer_type)
hypothesis/tests/cover/test_fuzz_one_input.py:29
Functiontest_fuzz_one_input_does_not_add_redundant_entries_to_database
(buffers, db_size)
hypothesis/tests/cover/test_fuzz_one_input.py:138
Functiontest_fuzz_one_input_sets_interesting_origin
()
hypothesis/tests/cover/test_observability.py:566
Functiontest_fuzz_one_input_status
(buffer, expected_status)
hypothesis/tests/cover/test_observability.py:548
Functiontest_fuzz_stuff
(data)
hypothesis/tests/nocover/test_regex.py:76
Functiontest_fuzzing_floats_bounds
(data, width, nonfloat)
hypothesis/tests/cover/test_float_nastiness.py:271
Functiontest_fuzzing_invalid_test_raises_error
()
hypothesis/tests/cover/test_fuzz_one_input.py:158
Functiontest_fuzzing_unsatisfiable_test_always_returns_None
()
hypothesis/tests/cover/test_fuzz_one_input.py:85
Functiontest_ga_corrupted_artifact
Tests that corrupted artifacts are properly detected and warned about.
hypothesis/tests/cover/test_database_backend.py:292
Functiontest_ga_database_not_created_when_not_used
(tmp_path_factory)
hypothesis/tests/nocover/test_database_usage.py:173
Functiontest_ga_deletes_old_artifacts
Tests that old artifacts are automatically deleted.
hypothesis/tests/cover/test_database_backend.py:319
Functiontest_ga_empty_read
Tests that an inexistent key returns nothing.
hypothesis/tests/cover/test_database_backend.py:254
Functiontest_ga_fallback_expired
Tests that the fallback to an expired artifact is triggered if fetching a new one fails. This allows for (by example) offline development.
hypothesis/tests/cover/test_database_backend.py:380
Functiontest_ga_initialize
Tests that the database is initialized when a new artifact is found. As well that initialization doesn't happen again on the next fetch.
hypothesis/tests/cover/test_database_backend.py:261
Functiontest_ga_no_artifact
Tests that the database is disabled when no artifact is found.
hypothesis/tests/cover/test_database_backend.py:282
Functiontest_ga_reads_artifact_without_directory_entries
()
hypothesis/tests/cover/test_database_backend.py:306
Functiontest_ga_require_readonly_wrapping
Test that GitHubArtifactDatabase requires wrapping around ReadOnlyDatabase
hypothesis/tests/cover/test_database_backend.py:208
Functiontest_ga_triggers_fetching
Tests whether an artifact fetch is triggered, and an expired artifact is deleted.
hypothesis/tests/cover/test_database_backend.py:337
Functiontest_gadb_coverage
()
hypothesis/tests/cover/test_database_backend.py:482
Functiontest_garbage_collects_the_secondary_key
()
hypothesis/tests/cover/test_slippage.py:156
Functiontest_gc_hooks_do_not_cause_unraisable_recursionerror
(testdir)
hypothesis/tests/nocover/test_recursive.py:175
Functiontest_gen_abstract
(foo)
hypothesis/tests/cover/test_type_lookup.py:411
Functiontest_generate_0d_arrays_with_no_fill
Generate arrays with zero-dimensions and no fill.
hypothesis/tests/array_api/test_arrays.py:465
Functiontest_generate_arbitrary_indices
(data)
hypothesis/tests/pandas/test_indexes.py:103
Functiontest_generate_arrays_from_0d_arrays
Generate arrays from 0d array elements.
hypothesis/tests/array_api/test_arrays.py:148
Functiontest_generate_arrays_from_integers_strategy_as_shape
Generate arrays from integers strategy as shapes strategy.
hypothesis/tests/array_api/test_arrays.py:122
Functiontest_generate_arrays_from_shapes_strategy
Generate arrays from shapes strategy.
hypothesis/tests/array_api/test_arrays.py:117
Functiontest_generate_arrays_from_unsigned_ints
Generate arrays from unsigned integer dtype.
hypothesis/tests/array_api/test_arrays.py:140
Functiontest_generate_arrays_from_zero_dimensions
Generate arrays from empty shape.
hypothesis/tests/array_api/test_arrays.py:127
Functiontest_generate_arrays_from_zero_sided_shapes
Generate arrays from shapes with at least one 0-sized dimension.
hypothesis/tests/array_api/test_arrays.py:133
Functiontest_generate_indices_for_0d_shape
Strategy only generates empty tuples or Ellipsis as indices for an empty shape.
hypothesis/tests/array_api/test_indices.py:47
Functiontest_generate_long_ellipsis
Strategy can replace runs of slice(None) with Ellipsis. We specifically test if [0,...,0] is generated alongside [0,:,:,:,0]
hypothesis/tests/array_api/test_indices.py:63
Functiontest_generate_optional_indices
Strategy can generate indices with optional values.
hypothesis/tests/array_api/test_indices.py:30
Functiontest_generate_tuples_and_non_tuples_for_1d_shape
Strategy can generate tuple and non-tuple indices with a 1-dimensional shape.
hypothesis/tests/array_api/test_indices.py:56
Functiontest_generate_unique_arrays
Generates unique arrays.
hypothesis/tests/array_api/test_arrays.py:221
Functiontest_generate_unique_arrays_using_all_elements
Unique strategy with elements strategy range equal to its size will only generate arrays with one of each possible element.
hypothesis/tests/array_api/test_arrays.py:266
Functiontest_generate_unique_arrays_with_high_collision_elements
Generates unique arrays with just elements of 0.0 and NaN fill.
hypothesis/tests/array_api/test_arrays.py:247
Functiontest_generate_unique_arrays_without_fill
Generate arrays from unique strategy with no fill. Covers the collision-related branches for fully dense unique arrays. Choosing 25 of 256 po
hypothesis/tests/array_api/test_arrays.py:421
Functiontest_generate_valid_indices
Strategy generates valid indices.
hypothesis/tests/array_api/test_indices.py:95
Functiontest_generated_lists_are_distinct
(ls)
hypothesis/tests/numpy/test_fill_values.py:18
Functiontest_generates_all_values_for_unique_array
(arr)
hypothesis/tests/numpy/test_gen_data.py:282
Functiontest_generates_ambiguous_datetimes_in_both_folds
(fold)
hypothesis/tests/datetime/test_zoneinfo_timezones.py:260
Functiontest_generates_and_minimizes
()
hypothesis/tests/numpy/test_gen_data.py:65
Functiontest_generates_imaginary_datetimes
()
hypothesis/tests/datetime/test_zoneinfo_timezones.py:254
Functiontest_generates_leap_second_adjacent_times
()
hypothesis/tests/cover/test_datetimes.py:176
Functiontest_generates_only_the_provided_characters_given_boundaries
(xs)
hypothesis/tests/cover/test_regex.py:338
Functiontest_generates_parseable_escaped_strings
(string)
hypothesis/tests/lark/test_grammar.py:82
Functiontest_generates_unix_rollover_adjacent_times
()
hypothesis/tests/cover/test_datetimes.py:181
Functiontest_generates_unsigned_ints
(x)
hypothesis/tests/numpy/test_gen_data.py:56
Functiontest_generates_valid_json
(string)
hypothesis/tests/lark/test_grammar.py:52
Functiontest_generation_without_whitespace
()
hypothesis/tests/lark/test_grammar.py:101
Functiontest_generator_functions_accept_any_iterator_like_annotation
(annotation)
hypothesis/tests/cover/test_functions.py:503
Functiontest_generator_functions_explicit_returns
(f)
hypothesis/tests/cover/test_functions.py:383
Functiontest_generator_functions_infer_yield_type
(f)
hypothesis/tests/cover/test_functions.py:373
Functiontest_generator_functions_infer_yield_type_ignoring_send_and_return
(f)
hypothesis/tests/cover/test_functions.py:394
← previousnext →4,701–4,800 of 6,838, ranked by callers