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_can_handle_race_between_exist_and_create
(monkeypatch)
hypothesis/tests/cover/test_charmap.py:163
Function
test_can_handle_repr_of_none
()
hypothesis/tests/cover/test_reflection.py:607
Function
test_can_handle_repr_on_type
()
hypothesis/tests/cover/test_reflection.py:599
Function
test_can_handle_straddling_zero
()
hypothesis/tests/cover/test_float_utils.py:30
Function
test_can_handle_unicode_identifier_in_same_line_as_lambda_def
()
hypothesis/tests/cover/test_unicode_identifiers.py:40
Function
test_can_handle_unicode_identifier_in_same_line_as_lambda_def
()
hypothesis/tests/cover/test_reflection.py:664
Function
test_can_handle_unicode_repr
()
hypothesis/tests/cover/test_reflection.py:587
Function
test_can_handle_zero_dimensions
(x)
hypothesis/tests/numpy/test_gen_data.py:51
Function
test_can_have_columns_of_distinct_types
(df)
hypothesis/tests/pandas/test_data_frame.py:29
Function
test_can_have_none_database
()
hypothesis/tests/cover/test_settings.py:205
Function
test_can_have_tz_aware_datetime_columns
()
hypothesis/tests/pandas/test_data_frame.py:40
Function
test_can_have_tz_aware_datetime_columns_with_rows
()
hypothesis/tests/pandas/test_data_frame.py:64
Function
test_can_have_tz_aware_datetime_index
()
hypothesis/tests/pandas/test_data_frame.py:53
Function
test_can_have_unicode_in_lambda_sources
()
hypothesis/tests/cover/test_lambda_formatting.py:43
Function
test_can_ignore_left_hand_side_of_flatmap
()
hypothesis/tests/quality/test_shrink_quality.py:130
Function
test_can_import_from_class
(tmp_path, func)
hypothesis/tests/ghostwriter/test_ghostwriter_cli.py:155
Function
test_can_import_from_scripts_in_working_dir
(tmp_path)
hypothesis/tests/ghostwriter/test_ghostwriter_cli.py:129
Function
test_can_inject_autospecced_mock_via_fixture
(spec_fixture, xs)
hypothesis/tests/pytest/test_fixtures.py:75
Function
test_can_inject_mock_via_fixture
A negative test is better for this one - this condition uncovers a bug whereby the mock fixture is executed instead of the test body and always
hypothesis/tests/pytest/test_fixtures.py:65
Function
test_can_load_data_from_a_corpus
()
hypothesis/tests/conjecture/test_engine.py:91
Function
test_can_lookup_cached_examples
()
hypothesis/tests/conjecture/test_data_tree.py:65
Function
test_can_lookup_cached_examples_with_forced
()
hypothesis/tests/conjecture/test_data_tree.py:72
Function
test_can_manage_very_long_ranges_with_step
(rnd)
hypothesis/tests/cover/test_randoms.py:361
Function
test_can_manually_call_initialize_rule
()
hypothesis/tests/cover/test_stateful.py:1076
Function
test_can_map
()
hypothesis/tests/cover/test_searchstrategy.py:67
Function
test_can_map_bundle
()
hypothesis/tests/cover/test_stateful.py:1549
Function
test_can_map_nameless
()
hypothesis/tests/cover/test_searchstrategy.py:84
Function
test_can_map_nameless
(x)
hypothesis/tests/cover/test_testdecorators.py:446
Function
test_can_mark_interesting
()
hypothesis/tests/conjecture/test_test_data.py:68
Function
test_can_mark_invalid
()
hypothesis/tests/conjecture/test_test_data.py:76
Function
test_can_mark_invalid_with_why
()
hypothesis/tests/conjecture/test_test_data.py:84
Function
test_can_minimal_float_far_from_integral
()
hypothesis/tests/nocover/test_simple_numbers.py:142
Function
test_can_minimal_float_on_boundary_of_representable
()
hypothesis/tests/nocover/test_simple_numbers.py:122
Function
test_can_minimal_infinite_negative_float
()
hypothesis/tests/nocover/test_simple_numbers.py:116
Function
test_can_minimize_float_arrays
()
hypothesis/tests/numpy/test_gen_data.py:76
Function
test_can_minimize_floats
Inferred float strategy minimizes to a good example.
hypothesis/tests/array_api/test_from_dtype.py:104
Function
test_can_minimize_large_arrays
()
hypothesis/tests/numpy/test_gen_data.py:69
Function
test_can_minimize_up_to_zero
()
hypothesis/tests/cover/test_simple_strings.py:17
Function
test_can_mix_fixture_and_keyword_strategy
(xs, infinity)
hypothesis/tests/pytest/test_fixtures.py:53
Function
test_can_mix_fixture_and_positional_strategy
(infinity, xs)
hypothesis/tests/pytest/test_fixtures.py:46
Function
test_can_mix_fixture_example_and_keyword_strategy
(xs, infinity)
hypothesis/tests/pytest/test_fixtures.py:59
Function
test_can_mix_sampling_with_generating
(x, y)
hypothesis/tests/cover/test_testdecorators.py:217
Function
test_can_mix_varargs_and_varkwargs
()
hypothesis/tests/cover/test_reflection.py:292
Function
test_can_mock_inside_given_without_fixture
(atan, thing)
hypothesis/tests/cover/test_mock.py:32
Function
test_can_mock_outside_given_with_fixture
(atan, pytestconfig, thing)
hypothesis/tests/cover/test_mock.py:39
Function
test_can_mock_within_test_with_fixture
(pytestconfig, thing)
hypothesis/tests/cover/test_mock.py:46
Function
test_can_navigate_to_a_valid_example
()
hypothesis/tests/conjecture/test_engine.py:217
Function
test_can_nest
()
hypothesis/tests/nocover/test_dynamic_variable.py:22
Function
test_can_nest_build_context
()
hypothesis/tests/cover/test_control.py:63
Function
test_can_not_set_print_blob_to_non_print_settings
(value)
hypothesis/tests/cover/test_settings.py:385
Function
test_can_not_set_verbosity_to_non_verbosity
()
hypothesis/tests/cover/test_settings.py:123
Function
test_can_note
()
hypothesis/tests/conjecture/test_test_data.py:300
Function
test_can_observe_draws
()
hypothesis/tests/conjecture/test_test_data.py:196
Function
test_can_only_allow_nil_uuid_with_none_version
()
hypothesis/tests/cover/test_uuids.py:29
Function
test_can_optimise_last_with_following_empty
()
hypothesis/tests/conjecture/test_optimiser.py:90
Function
test_can_override_defined_terminal
(string)
hypothesis/tests/lark/test_grammar.py:151
Function
test_can_override_label
()
hypothesis/tests/conjecture/test_test_data.py:274
Function
test_can_pad_empty_strings
()
hypothesis/tests/cover/test_regex.py:379
Function
test_can_pad_strings_arbitrarily
()
hypothesis/tests/cover/test_regex.py:374
Function
test_can_pad_strings_with_newlines
()
hypothesis/tests/cover/test_regex.py:384
Function
test_can_partially_sort_a_list
()
hypothesis/tests/conjecture/test_order_shrinking.py:29
Function
test_can_partially_sort_a_list_2
()
hypothesis/tests/conjecture/test_order_shrinking.py:34
Function
test_can_pass_collections_for_alphabet
(alphabet)
hypothesis/tests/cover/test_regex.py:514
Function
test_can_pass_through_arguments
()
hypothesis/tests/cover/test_composite.py:36
Function
test_can_pass_to_an_indirect_descendant
()
hypothesis/tests/conjecture/test_shrinker.py:130
Function
test_can_pass_union_for_alphabet
(_)
hypothesis/tests/cover/test_regex.py:509
Function
test_can_patch_up_examples
()
hypothesis/tests/conjecture/test_optimiser.py:174
Function
test_can_precisely_shrink_alternatives
(i, j, a, seed)
hypothesis/tests/nocover/test_precise_shrinking.py:190
Function
test_can_precisely_shrink_values
(typ, strat, require_truthy)
hypothesis/tests/nocover/test_precise_shrinking.py:166
Function
test_can_proxy_async_functions
()
hypothesis/tests/cover/test_reflection.py:486
Function
test_can_proxy_async_generator_functions
()
hypothesis/tests/cover/test_reflection.py:518
Function
test_can_proxy_functions_with_mixed_args_and_varargs
()
hypothesis/tests/cover/test_reflection.py:447
Function
test_can_proxy_generator_functions
()
hypothesis/tests/cover/test_reflection.py:501
Function
test_can_proxy_lambdas
(func, args, expected)
hypothesis/tests/cover/test_reflection.py:477
Function
test_can_put_arguments_in_the_middle
()
hypothesis/tests/cover/test_validation.py:108
Function
test_can_quickly_shrink_to_trivial_collection
(n)
hypothesis/tests/conjecture/test_shrinker.py:533
Function
test_can_raise_unsatisfiable_after_falling_back
()
hypothesis/tests/conjecture/test_provider.py:626
Function
test_can_reduce_poison_from_any_subtree
This test validates that we can minimize to any leaf node of a binary tree, regardless of where in the tree the leaf is.
hypothesis/tests/quality/test_poisoned_trees.py:63
Function
test_can_reexecute_dead_examples
()
hypothesis/tests/conjecture/test_data_tree.py:114
Function
test_can_register_NewType
()
hypothesis/tests/cover/test_lookup.py:856
Function
test_can_register_backported_typealiastype
()
hypothesis/tests/typing_extensions/test_backported_types.py:381
Function
test_can_register_builtin_list
()
hypothesis/tests/cover/test_lookup_py39.py:127
Function
test_can_register_new_type_for_typeddicts
()
hypothesis/tests/cover/test_lookup_py38.py:138
Function
test_can_register_parameterized_typealias_with_unused_params
()
hypothesis/tests/cover/test_typealias_py312.py:123
Function
test_can_register_typealias
()
hypothesis/tests/cover/test_typealias_py312.py:76
Function
test_can_remove_discarded_data
()
hypothesis/tests/conjecture/test_engine.py:723
Function
test_can_remove_nonexistent_listener
()
hypothesis/tests/cover/test_database_backend.py:718
Function
test_can_reorder_spans
()
hypothesis/tests/conjecture/test_shrinker.py:184
Function
test_can_repeatedly_push_the_same_thing
()
hypothesis/tests/cover/test_settings.py:98
Function
test_can_replace_inner_test
(x)
hypothesis/tests/nocover/test_modify_inner_test.py:28
Function
test_can_replace_when_decorated
(x)
hypothesis/tests/nocover/test_modify_inner_test.py:47
Function
test_can_replace_when_original_is_invalid
()
hypothesis/tests/nocover/test_modify_inner_test.py:63
Function
test_can_replace_when_parametrized
(x, y)
hypothesis/tests/nocover/test_modify_inner_test.py:56
Function
test_can_report_when_system_locale_is_ascii
(monkeypatch)
hypothesis/tests/cover/test_reporting.py:67
Function
test_can_resolve_abstract_class
(instance)
hypothesis/tests/cover/test_lookup.py:897
Function
test_can_resolve_forward_reference_to_class
(thing)
hypothesis/tests/cover/test_lookup.py:610
Function
test_can_resolve_recursive_dataclass
(val)
hypothesis/tests/cover/test_lookup_py38.py:134
Function
test_can_resolve_registered_protocol
(data)
hypothesis/tests/cover/test_lookup_py38.py:244
Function
test_can_resolve_type_forward_reference
(thing)
hypothesis/tests/cover/test_lookup.py:618
Function
test_can_restrict_email_domains
(address: str)
hypothesis/tests/nocover/test_emails.py:33
← previous
next →
3,701–3,800 of 6,838, ranked by callers