Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,838 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,838
◇
Types & classes
772
↳
Endpoints
144
Function
test_raises_attribute_error
()
hypothesis/tests/cover/test_settings.py:89
Function
test_raises_deadline_on_slow_test
()
hypothesis/tests/cover/test_deadline.py:28
Function
test_raises_error_if_cleanup_fails_but_block_does_not
()
hypothesis/tests/cover/test_control.py:113
Function
test_raises_flaky_if_a_test_becomes_fast_on_rerun
()
hypothesis/tests/cover/test_deadline.py:59
Function
test_raises_for_arg_with_unresolvable_annotation
()
hypothesis/tests/cover/test_lookup.py:486
Function
test_raises_for_mixed_pos_kwargs_in_given
(tmp_path, python_version)
whole_repo_tests/types/test_mypy.py:624
Function
test_raises_if_current_build_context_out_of_context
()
hypothesis/tests/cover/test_control.py:147
Function
test_raises_if_not_passed_callable
()
hypothesis/tests/cover/test_threading.py:55
Function
test_raises_if_note_out_of_context
()
hypothesis/tests/cover/test_control.py:123
Function
test_raises_invalid_if_wrong_version
()
hypothesis/tests/cover/test_reproduce_failure.py:207
Function
test_raises_multiple_failures_when_position_varies
()
hypothesis/tests/cover/test_slippage.py:75
Function
test_raises_multiple_failures_with_varying_type
()
hypothesis/tests/cover/test_slippage.py:38
Function
test_raises_on_arbitrary_data
()
hypothesis/tests/cover/test_interactive_example.py:93
Function
test_raises_on_inferring_with_no_dunder_version
When xp has no __array_api_version__, inferring api_version raises helpful error.
hypothesis/tests/array_api/test_partial_adoptors.py:184
Function
test_raises_on_invalid_dunder_version
When xp has invalid __array_api_version__, inferring api_version raises helpful error.
hypothesis/tests/array_api/test_partial_adoptors.py:192
Function
test_raises_on_no_examples
()
hypothesis/tests/cover/test_interactive_example.py:71
Function
test_raises_unsatisfiable_if_all_false
(x)
hypothesis/tests/nocover/test_given_error_conditions.py:21
Function
test_raises_unsatisfiable_if_all_false_in_finite_set
(x)
hypothesis/tests/cover/test_given_error_conditions.py:23
Function
test_raises_unsatisfiable_if_passed_explicit_nothing
()
hypothesis/tests/cover/test_given_error_conditions.py:35
Function
test_raising_filter_condition_cannot_invert
()
hypothesis/tests/cover/test_invert.py:811
Function
test_raising_sampled_from_transformation_cannot_invert
()
hypothesis/tests/cover/test_invert.py:817
Function
test_raising_verified_after_failure_is_sound
()
hypothesis/tests/conjecture/test_provider.py:748
Function
test_rand_below
(rnd, n)
hypothesis/tests/cover/test_randoms.py:148
Function
test_randbytes_have_right_length
(rnd, n)
hypothesis/tests/cover/test_randoms.py:352
Function
test_random_includes_zero_excludes_one
()
hypothesis/tests/cover/test_randoms.py:417
Function
test_randoms_can_be_synced
(use_true_random, data)
hypothesis/tests/cover/test_randoms.py:168
Function
test_range_with_arbitrary_step_is_in_range
(rnd, data)
hypothesis/tests/cover/test_randoms.py:371
Function
test_range_with_only_stop
(rnd, n)
hypothesis/tests/cover/test_randoms.py:381
Function
test_rare_types
(data, typ)
hypothesis/tests/cover/test_lookup.py:151
Function
test_ratchetting_raises_flaky
()
hypothesis/tests/cover/test_stateful.py:374
Function
test_re_evals
()
hypothesis/tests/cover/test_pretty.py:589
Function
test_reaches_high_scores_with_moderate_budget
(seed_val)
hypothesis/tests/quality/test_targeting_quality.py:55
Method
test_read_only_password_hash_field_form
(self, password_form)
hypothesis/tests/django/toystore/test_given_forms.py:156
Function
test_readonly_db_is_not_writable
()
hypothesis/tests/cover/test_database_backend.py:177
Function
test_readonly_listener
()
hypothesis/tests/cover/test_database_backend.py:744
Function
test_realization_with_observability
()
hypothesis/tests/conjecture/test_provider.py:493
Function
test_realization_with_verbosity
(verbosity)
hypothesis/tests/conjecture/test_provider.py:465
Function
test_realization_with_verbosity_draw
(verbosity)
hypothesis/tests/conjecture/test_provider.py:479
Function
test_realize
()
hypothesis/tests/conjecture/test_provider.py:435
Function
test_realize_dependent_draw
()
hypothesis/tests/conjecture/test_provider.py:451
Function
test_realizes_event
()
hypothesis/tests/crosshair/test_crosshair.py:199
Function
test_really_bad_repr
()
hypothesis/tests/cover/test_pretty.py:298
Function
test_really_weird_tzinfo_case
()
hypothesis/tests/datetime/test_pytz_timezones.py:204
Function
test_recipe_for_everything_except
(excluded_types, data)
hypothesis/tests/nocover/test_from_type_recipe.py:41
Function
test_record_value_for_span_holds_objects_weakly
()
hypothesis/tests/conjecture/test_test_data.py:484
Function
test_record_value_for_span_ignores_non_weakrefable_containers
()
hypothesis/tests/conjecture/test_test_data.py:474
Function
test_record_value_for_span_records_by_index
()
hypothesis/tests/conjecture/test_test_data.py:502
Function
test_recreate_charmap
()
hypothesis/tests/cover/test_charmap.py:87
Function
test_recursion_does_not_break_reusability
()
hypothesis/tests/nocover/test_reusable_values.py:160
Function
test_recursion_error_is_not_flaky
()
hypothesis/tests/conjecture/test_engine.py:172
Function
test_recursion_in_middle
()
hypothesis/tests/cover/test_deferred_strategies.py:135
Function
test_recursion_validates_base_case
()
hypothesis/tests/cover/test_validation.py:163
Function
test_recursion_validates_recursive_step
()
hypothesis/tests/cover/test_validation.py:168
Function
test_recursive
(data)
hypothesis/tests/cover/test_invert.py:418
Function
test_recursive_call_validates_base_is_strategy
()
hypothesis/tests/cover/test_recursive.py:51
Function
test_recursive_call_validates_expand_returns_strategies
()
hypothesis/tests/cover/test_recursive.py:46
Function
test_recursive_can_generate_varied_structures
()
hypothesis/tests/cover/test_recursive.py:85
Function
test_recursive_can_generate_varied_structures_without_using_leaves
()
hypothesis/tests/cover/test_recursive.py:96
Function
test_recursive_forward_ref_resolution_is_bounded
(monkeypatch)
hypothesis/tests/nocover/test_type_lookup_forward_ref.py:53
Function
test_recursive_property_concurrent
()
hypothesis/tests/nocover/test_threading.py:239
Function
test_recursive_type_with_defaults_minimizes_to_defaults
()
hypothesis/tests/cover/test_lookup.py:745
Function
test_redis_equality
()
hypothesis/tests/redis/test_redis_exampledatabase.py:180
Function
test_redis_listener
()
hypothesis/tests/redis/test_redis_exampledatabase.py:108
Function
test_redis_listener_explicit
()
hypothesis/tests/redis/test_redis_exampledatabase.py:119
Function
test_redis_move_from_key_without_value
()
hypothesis/tests/redis/test_redis_exampledatabase.py:151
Function
test_redis_move_into_key_with_value
()
hypothesis/tests/redis/test_redis_exampledatabase.py:161
Function
test_redis_move_to_same_key
()
hypothesis/tests/redis/test_redis_exampledatabase.py:171
Function
test_redistribute_numeric_pairs
(node1, node2, stop)
hypothesis/tests/conjecture/test_shrinker.py:606
Function
test_redistribute_numeric_pairs_shrink_towards_explicit_combined
( shrink_towards, start )
hypothesis/tests/conjecture/test_shrinker.py:843
Function
test_redistribute_numeric_pairs_shrink_towards_explicit_float
(start, invert)
hypothesis/tests/conjecture/test_shrinker.py:817
Function
test_redistribute_numeric_pairs_shrink_towards_explicit_integer
( min_value, max_value, shrink_towards, start, invert )
hypothesis/tests/conjecture/test_shrinker.py:782
Function
test_redistribute_numeric_pairs_shrink_towards_integer
( data, target, shrink_towards )
hypothesis/tests/conjecture/test_shrinker.py:862
Function
test_redistribute_numeric_pairs_to_large_integer
()
hypothesis/tests/conjecture/test_shrinker.py:645
Function
test_redistribute_numeric_pairs_type_combinations
Test redistribute_numeric_pairs with each combination of node types, including cases where node2's value is near MAX_PRECISE_INTEGER to exercise
hypothesis/tests/conjecture/test_shrinker.py:674
Function
test_redistribute_with_forced_node_integer
()
hypothesis/tests/conjecture/test_shrinker.py:517
Function
test_refactor_does_not_rewrite_unchanged_files
(tmp_path)
hypothesis/tests/codemods/test_codemod_cli.py:121
Function
test_refactor_function_is_idempotent
()
hypothesis/tests/codemods/test_codemods.py:16
Function
test_refactor_reports_missing_file
(tmp_path)
hypothesis/tests/codemods/test_codemod_cli.py:90
Function
test_refactor_reports_syntax_errors
(tmp_path)
hypothesis/tests/codemods/test_codemod_cli.py:103
Function
test_refactor_reraises_non_syntax_errors
(tmp_path)
hypothesis/tests/codemods/test_codemod_cli.py:110
Function
test_refactor_skips_files_without_hypothesis_mention
(tmp_path)
hypothesis/tests/codemods/test_codemod_cli.py:97
Function
test_regenerate_broken_charmap_file
()
hypothesis/tests/cover/test_charmap.py:186
Function
test_regex_atomic_group
(data)
hypothesis/tests/nocover/test_regex.py:105
Method
test_regex_field_form
(self, regex_field_form)
hypothesis/tests/django/toystore/test_given_forms.py:107
Function
test_regex_filter_rewriting
(data, strategy, pattern, method)
hypothesis/tests/cover/test_filter_rewriting.py:617
Function
test_regex_have_same_type_as_pattern
(pattern)
hypothesis/tests/cover/test_regex.py:366
Function
test_regex_output_should_print_as_string
(explain)
hypothesis/tests/cover/test_regex.py:646
Function
test_regex_possessive
(data)
hypothesis/tests/nocover/test_regex.py:112
Function
test_regex_types
(data, generic, typ)
hypothesis/tests/cover/test_lookup.py:235
Method
test_register_field_strategy_rejects_invalid_fields
(self)
hypothesis/tests/django/toystore/test_field_lookup.py:65
Function
test_register_generic_typing_strats
()
hypothesis/tests/cover/test_lookup.py:280
Function
test_register_profile_avoids_intermediate_profiles
()
hypothesis/tests/cover/test_settings.py:600
Function
test_register_random_interface
(tmp_path)
whole_repo_tests/types/test_mypy.py:640
Function
test_register_random_protocol
(tmp_path: Path)
whole_repo_tests/types/test_pyright.py:349
Function
test_register_random_within_nested_function_scope
()
hypothesis/tests/cover/test_random_module.py:283
Function
test_register_type_strategy_type_alias_type
(tmp_path)
whole_repo_tests/types/test_mypy.py:662
Function
test_registered_Random_is_seeded_by_random_module_strategy
()
hypothesis/tests/cover/test_random_module.py:117
Function
test_registering_a_Random_is_idempotent
()
hypothesis/tests/cover/test_random_module.py:78
Function
test_regression_issue_1230
()
hypothesis/tests/cover/test_regressions.py:89
Function
test_regression_issue_1700
()
hypothesis/tests/cover/test_unicode_identifiers.py:44
← previous
next →
5,801–5,900 of 6,838, ranked by callers