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_positive_negative_int
()
hypothesis/tests/nocover/test_simple_numbers.py:28
Function
test_posonly_lambda_formatting
(lam, source)
hypothesis/tests/cover/test_lookup_py38.py:151
Function
test_pprint_break
Test that p.break_ produces expected output.
hypothesis/tests/cover/test_pretty.py:262
Function
test_pprint_break_repr
Test that p.break_ is used in repr.
hypothesis/tests/cover/test_pretty.py:269
Function
test_pprint_extremely_large_integers
()
hypothesis/tests/cover/test_pretty.py:764
Function
test_pprint_large_integers
()
hypothesis/tests/cover/test_pretty.py:758
Function
test_pprint_map_with_cycle
(data)
hypothesis/tests/cover/test_pretty.py:749
Function
test_pprint_nomod
Test that pprint works for classes with no __module__.
hypothesis/tests/cover/test_pretty.py:256
Function
test_pprint_with_call_or_repr_as_call
(data)
hypothesis/tests/cover/test_pretty.py:730
Function
test_pprint_with_call_or_repr_as_repr
(x)
hypothesis/tests/cover/test_pretty.py:742
Function
test_precise_shrink_with_blocker
(a, seed)
hypothesis/tests/nocover/test_precise_shrinking.py:207
Function
test_precondition_cannot_be_used_without_rule
()
hypothesis/tests/cover/test_stateful.py:1798
Function
test_predicate_constraint
()
hypothesis/tests/test_annotated_types.py:149
Function
test_prefers_manually_registered_typealias
()
hypothesis/tests/cover/test_typealias_py312.py:82
Function
test_prefers_singleton_printing_to_repr_pretty
()
hypothesis/tests/cover/test_pretty.py:846
Function
test_prefix_cannot_exceed_buffer_size
(monkeypatch)
hypothesis/tests/conjecture/test_engine.py:1170
Function
test_prefixed_timezone_keys_invert
(monkeypatch)
hypothesis/tests/cover/test_invert.py:287
Function
test_preserves_sequence_type_of_argument
()
hypothesis/tests/cover/test_custom_reprs.py:47
Function
test_preserves_signature
()
hypothesis/tests/cover/test_posonly_args_py38.py:27
Function
test_pretty_function
()
hypothesis/tests/cover/test_pretty.py:605
Function
test_pretty_partial_with_cycle
()
hypothesis/tests/cover/test_pretty.py:705
Function
test_pretty_prints_attrs_classes
()
hypothesis/tests/attrs/test_pretty.py:30
Function
test_pretty_prints_data_classes
()
hypothesis/tests/cover/test_pretty.py:787
Function
test_pretty_prints_enums_as_code
(rep)
hypothesis/tests/cover/test_pretty.py:685
Function
test_primitive_strategy_spans_record_their_value
(strategy, choices)
hypothesis/tests/conjecture/test_test_data.py:432
Function
test_print_builtin_function
()
hypothesis/tests/cover/test_pretty.py:601
Function
test_print_with_indent
()
hypothesis/tests/cover/test_pretty.py:575
Function
test_prints_all_notes_in_verbose_mode
()
hypothesis/tests/cover/test_control.py:157
Function
test_prints_empty_dataclass_correctly
()
hypothesis/tests/attrs/test_pretty.py:82
Function
test_prints_equal_values_with_correct_variable_name
()
hypothesis/tests/cover/test_stateful.py:868
Function
test_prints_initial_attempts_on_find
()
hypothesis/tests/cover/test_verbosity.py:78
Function
test_prints_intermediate_in_success
()
hypothesis/tests/cover/test_verbosity.py:28
Function
test_prints_labels_if_given_on_failure
()
hypothesis/tests/cover/test_arbitrary_data.py:43
Function
test_prints_mapped_bundle_values_directly
()
hypothesis/tests/cover/test_stateful.py:1694
Function
test_prints_note_in_failing_example
()
hypothesis/tests/cover/test_explicit_examples.py:206
Function
test_prints_notes_once_on_failure
()
hypothesis/tests/cover/test_testdecorators.py:475
Function
test_prints_on_failure
()
hypothesis/tests/cover/test_arbitrary_data.py:27
Function
test_prints_on_failure_by_default
()
hypothesis/tests/cover/test_testdecorators.py:227
Function
test_prints_output_by_default
()
hypothesis/tests/cover/test_reporting.py:24
Function
test_prints_output_for_explicit_examples
()
hypothesis/tests/cover/test_explicit_examples.py:157
Function
test_prints_reproduction_if_requested
()
hypothesis/tests/cover/test_reproduce_failure.py:128
Function
test_prints_seed_on_very_slow_shrinking
(monkeypatch, in_pytest)
hypothesis/tests/cover/test_seed_printing.py:122
Function
test_prints_seed_only_on_healthcheck
( monkeypatch, in_pytest, fail_healthcheck, verbosity )
hypothesis/tests/cover/test_seed_printing.py:33
Function
test_prints_statistics_for_stateful_tests
(testdir)
hypothesis/tests/pytest/test_statistics.py:121
Function
test_prints_statistics_for_unittest_tests
(testdir)
hypothesis/tests/pytest/test_statistics.py:100
Function
test_prints_statistics_given_option
(testdir)
hypothesis/tests/pytest/test_statistics.py:52
Function
test_prints_statistics_given_option_under_xdist
(testdir)
hypothesis/tests/pytest/test_statistics.py:59
Function
test_prints_statistics_given_option_under_xdist_with_junitxml
(testdir)
hypothesis/tests/pytest/test_statistics.py:77
Function
test_prints_statistics_given_option_with_junitxml
(testdir)
hypothesis/tests/pytest/test_statistics.py:66
Function
test_prints_variable_names_for_consumed_filtered_bundle_arguments
()
hypothesis/tests/cover/test_stateful.py:1664
Function
test_prints_variable_names_for_filtered_bundle_arguments
()
hypothesis/tests/cover/test_stateful.py:1634
Function
test_prints_verbose_output_for_explicit_examples
()
hypothesis/tests/cover/test_explicit_examples.py:166
Function
test_private_attribute
(s)
hypothesis/tests/attrs/test_inference.py:110
Function
test_private_attribute_underscore_fails
()
hypothesis/tests/attrs/test_inference.py:114
Function
test_private_attribute_underscore_infer_fails
()
hypothesis/tests/attrs/test_inference.py:119
Function
test_prng_state_unpolluted_by_given_issue_1266
()
hypothesis/tests/cover/test_regressions.py:117
Function
test_probed_transitions_include_known_dst_change
()
hypothesis/tests/datetime/test_zoneinfo_timezones.py:236
Function
test_probing_a_misaligned_window_still_finds_transitions
()
hypothesis/tests/datetime/test_zoneinfo_timezones.py:278
Function
test_probing_finds_transitions_a_week_apart
()
hypothesis/tests/datetime/test_zoneinfo_timezones.py:268
Function
test_produces_castable_instances_from_dtype
Strategies inferred by dtype generate values of a builtin type castable to the dtype.
hypothesis/tests/array_api/test_from_dtype.py:56
Function
test_produces_castable_instances_from_name
Strategies inferred by dtype name generate values of a builtin type castable to the dtype.
hypothesis/tests/array_api/test_from_dtype.py:65
Function
test_produces_dictionaries_of_at_least_minimum_size
()
hypothesis/tests/cover/test_direct_strategies.py:460
Function
test_produces_expected_choice_sequence
(strategy, value, expected)
hypothesis/tests/cover/test_invert.py:734
Function
test_produces_instances
(t)
hypothesis/tests/numpy/test_from_dtype.py:69
Function
test_produces_valid_examples_from_args
(fn, args)
hypothesis/tests/cover/test_direct_strategies.py:354
Function
test_produces_valid_examples_from_keyword
(fn, kwargs)
hypothesis/tests/cover/test_direct_strategies.py:333
Function
test_profile_names_must_be_strings
()
hypothesis/tests/cover/test_settings.py:171
Function
test_provider_conformance
(provider, provider_kw)
hypothesis/tests/conjecture/test_provider.py:840
Function
test_provider_conformance
(provider)
hypothesis/tests/nocover/test_provider_conformance.py:71
Function
test_provider_conformance_avoid_realization_replays
()
hypothesis/tests/conjecture/test_provider.py:1050
Function
test_provider_conformance_context_manager_exceptions
()
hypothesis/tests/conjecture/test_provider.py:935
Function
test_provider_conformance_crosshair
()
hypothesis/tests/crosshair/test_conformance.py:18
Function
test_provider_conformance_declining_realize
()
hypothesis/tests/conjecture/test_provider.py:1042
Function
test_provider_conformance_exhausting_provider
()
hypothesis/tests/conjecture/test_provider.py:928
Function
test_provider_contract
(provider, nodes, random)
hypothesis/tests/conjecture/test_provider_contract.py:88
Function
test_provider_contract_bytestring
(bytestring, choice_type_and_constraints)
hypothesis/tests/conjecture/test_provider_contract.py:52
Function
test_pulic_interface_works
()
hypothesis/tests/cover/test_type_lookup.py:212
Function
test_pure_is_invalid_except_for_plain_functions
(like)
hypothesis/tests/cover/test_functions.py:477
Function
test_puts_the_database_in_the_home_dir_by_default
(tmp_path)
hypothesis/tests/cover/test_settings.py:300
Function
test_pyright_issue_3296
(tmp_path: Path)
whole_repo_tests/types/test_pyright.py:101
Function
test_pyright_issue_3348
(tmp_path: Path)
whole_repo_tests/types/test_pyright.py:140
Function
test_pyright_issue_4665
(tmp_path: Path)
whole_repo_tests/types/test_pyright.py:157
Function
test_pyright_one_of_pos_args_only
(tmp_path: Path)
whole_repo_tests/types/test_pyright.py:326
Function
test_pyright_passes_on_basic_test
(tmp_path: Path, python_version: str)
whole_repo_tests/types/test_pyright.py:47
Function
test_pyright_passes_on_hypothesis
()
whole_repo_tests/types/test_pyright.py:42
Function
test_pyright_raises_for_mixed_pos_kwargs_in_given
(tmp_path: Path)
whole_repo_tests/types/test_pyright.py:115
Function
test_pyright_tuples_pos_args_only
(tmp_path: Path)
whole_repo_tests/types/test_pyright.py:303
Function
test_pytest_reports_patch_file_location
(pytester)
hypothesis/tests/patching/test_patching.py:285
Function
test_pytest_skip_skips_shrinking
()
hypothesis/tests/cover/test_core.py:84
Function
test_pythagorean_triples
(a, b, h)
hypothesis/tests/cover/test_cathetus.py:148
Function
test_python_compiled_with_sane_math_options
Python does not flush-to-zero, which violates IEEE-754 The other tests that rely on subnormals are skipped when Python is FTZ (otherwise pyte
hypothesis/tests/nocover/test_subnormal_floats.py:23
Function
test_python_versions_are_in_trove_classifiers
()
whole_repo_tests/whole_repo/test_ci_config.py:44
Function
test_python_versions_are_tested_in_ci
(version)
whole_repo_tests/whole_repo/test_ci_config.py:28
Function
test_query_matches_categories
(cats)
hypothesis/tests/cover/test_charmap.py:53
Function
test_query_matches_categories_codepoints
(cats, m1, m2)
hypothesis/tests/cover/test_charmap.py:66
Function
test_query_rejects_min_codepoint_greater_than_max
()
hypothesis/tests/cover/test_charmap.py:195
Function
test_raise_invalid_argument
(function, args, kwargs)
hypothesis/tests/common/arguments.py:32
Function
test_raise_invalid_argument
Strategies raise helpful error with invalid arguments.
hypothesis/tests/array_api/test_argument_validation.py:222
Function
test_raise_invalid_argument
(function, kwargs)
hypothesis/tests/numpy/test_argument_validation.py:276
Function
test_raise_invalid_argument_deprecated
(function, kwargs)
hypothesis/tests/numpy/test_argument_validation.py:289
← previous
next →
5,701–5,800 of 6,838, ranked by callers