MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

Functiontest_minimal_quadrant3
()
hypothesis/tests/cover/test_complex_numbers.py:48
Functiontest_minimal_quadrant4
()
hypothesis/tests/cover/test_complex_numbers.py:52
Functiontest_minimal_small_number_in_large_range
()
hypothesis/tests/nocover/test_simple_numbers.py:78
Functiontest_minimal_small_sum_float_list
()
hypothesis/tests/nocover/test_simple_numbers.py:82
Functiontest_minimals_boundary_floats
()
hypothesis/tests/nocover/test_simple_numbers.py:87
Functiontest_minimisation_consistent_with_characters
()
hypothesis/tests/cover/test_simple_strings.py:48
Functiontest_minimise_array_shapes
(min_dims, dim_range, min_side, side_range)
hypothesis/tests/numpy/test_gen_data.py:133
Functiontest_minimise_array_strategy
()
hypothesis/tests/numpy/test_gen_data.py:196
Functiontest_minimise_nested_types
()
hypothesis/tests/numpy/test_gen_data.py:192
Functiontest_minimise_scalar_dtypes
Strategy minimizes to bool dtype.
hypothesis/tests/array_api/test_scalar_dtypes.py:102
Functiontest_minimise_scalar_dtypes
()
hypothesis/tests/numpy/test_gen_data.py:188
Functiontest_minimize_3_set
()
hypothesis/tests/quality/test_shrink_quality.py:91
Functiontest_minimize_3_set_of_tuples
()
hypothesis/tests/quality/test_shrink_quality.py:95
Functiontest_minimize_arrays_with_0d_shape_strategy
Strategy with shape strategy that can generate empty tuples minimizes to 0d arrays.
hypothesis/tests/array_api/test_arrays.py:171
Functiontest_minimize_arrays_with_default_dtype_shape_strategies
Strategy with default scalar_dtypes and array_shapes strategies minimize to a boolean 1-dimensional array of size 1.
hypothesis/tests/array_api/test_arrays.py:162
Functiontest_minimize_bounded_integers_to_positive
()
hypothesis/tests/quality/test_shrink_quality.py:48
Functiontest_minimize_bounded_integers_to_zero
()
hypothesis/tests/quality/test_shrink_quality.py:44
Functiontest_minimize_dict
()
hypothesis/tests/quality/test_shrink_quality.py:289
Functiontest_minimize_dicts_with_incompatible_keys
()
hypothesis/tests/cover/test_simple_collections.py:160
Functiontest_minimize_duplicated_characters_within_a_choice
()
hypothesis/tests/quality/test_shrink_quality.py:517
Functiontest_minimize_float_arrays
Strategy with float dtype minimizes to a good example. We filter runtime warnings and expect flaky array generation for specifically NumPy -
hypothesis/tests/array_api/test_arrays.py:198
Functiontest_minimize_large_uint_arrays
Strategy with uint dtype and largely sized shape minimizes to a good example.
hypothesis/tests/array_api/test_arrays.py:185
Functiontest_minimize_list_of_fairly_non_unique_ints
()
hypothesis/tests/quality/test_shrink_quality.py:263
Functiontest_minimize_list_of_lists
()
hypothesis/tests/quality/test_shrink_quality.py:303
Functiontest_minimize_list_of_longish_lists
()
hypothesis/tests/quality/test_shrink_quality.py:252
Functiontest_minimize_list_of_sets
()
hypothesis/tests/quality/test_shrink_quality.py:297
Functiontest_minimize_list_of_tuples
()
hypothesis/tests/quality/test_shrink_quality.py:309
Functiontest_minimize_long_list
()
hypothesis/tests/quality/test_shrink_quality.py:246
Functiontest_minimize_longer_list_of_strings
()
hypothesis/tests/quality/test_shrink_quality.py:87
Functiontest_minimize_longer_string
()
hypothesis/tests/quality/test_shrink_quality.py:83
Functiontest_minimize_mixed_list
()
hypothesis/tests/quality/test_shrink_quality.py:78
Functiontest_minimize_multi_key_dicts
()
hypothesis/tests/quality/test_shrink_quality.py:314
Functiontest_minimize_multiple_elements_in_silly_large_int_range
()
hypothesis/tests/quality/test_shrink_quality.py:183
Functiontest_minimize_multiple_elements_in_silly_large_int_range_min_is_not_dupe
()
hypothesis/tests/quality/test_shrink_quality.py:192
Functiontest_minimize_mutually_broadcastable_shape
(num_shapes, min_dims, base_shape, data)
hypothesis/tests/numpy/test_gen_data.py:740
Functiontest_minimize_namedtuple
()
hypothesis/tests/quality/test_shrink_quality.py:283
Functiontest_minimize_nan
()
hypothesis/tests/nocover/test_simple_numbers.py:126
Functiontest_minimize_negative_int
()
hypothesis/tests/nocover/test_simple_numbers.py:23
Functiontest_minimize_negative_tuple_axes
(ndim, data)
hypothesis/tests/numpy/test_gen_data.py:499
Functiontest_minimize_one_of
()
hypothesis/tests/quality/test_shrink_quality.py:73
Functiontest_minimize_sets_of_sets
()
hypothesis/tests/quality/test_shrink_quality.py:99
Functiontest_minimize_sets_sampled_from
()
hypothesis/tests/quality/test_shrink_quality.py:110
Functiontest_minimize_single_element_in_silly_large_int_range
()
hypothesis/tests/quality/test_shrink_quality.py:179
Functiontest_minimize_string_to_empty
()
hypothesis/tests/quality/test_shrink_quality.py:69
Functiontest_minimize_tuple_axes
(ndim, data)
hypothesis/tests/numpy/test_gen_data.py:487
Functiontest_minimize_very_large_float
()
hypothesis/tests/nocover/test_simple_numbers.py:130
Functiontest_minimizes_errors_in_teardown
()
hypothesis/tests/cover/test_stateful.py:397
Functiontest_minimizes_individual_features_to_open
()
hypothesis/tests/cover/test_feature_flags.py:31
Functiontest_minimizes_int_down_to_boundary
(boundary)
hypothesis/tests/nocover/test_simple_numbers.py:45
Functiontest_minimizes_int_up_to_boundary
(boundary)
hypothesis/tests/nocover/test_simple_numbers.py:50
Functiontest_minimizes_integer_range_to_boundary
(boundary)
hypothesis/tests/nocover/test_simple_numbers.py:70
Functiontest_minimizes_ints_from_down_to_boundary
(boundary)
hypothesis/tests/nocover/test_simple_numbers.py:55
Functiontest_minimizes_list_of_lists
()
hypothesis/tests/cover/test_simple_collections.py:69
Functiontest_minimizes_lists_of_negative_ints_up_to_boundary
()
hypothesis/tests/nocover/test_simple_numbers.py:160
Functiontest_minimizes_negative_integer_range_upwards
()
hypothesis/tests/nocover/test_simple_numbers.py:65
Functiontest_minimizes_numeric_arrays
Strategies with numeric dtypes minimize to zero-filled arrays.
hypothesis/tests/array_api/test_arrays.py:179
Functiontest_minimizes_open
()
hypothesis/tests/cover/test_feature_flags.py:23
Functiontest_minimizes_to_empty
(coltype, strat)
hypothesis/tests/cover/test_simple_collections.py:65
Functiontest_minimizes_to_fill
Strategy with single fill value minimizes to arrays only containing said fill value.
hypothesis/tests/array_api/test_arrays.py:214
Functiontest_minimizes_to_fill
()
hypothesis/tests/numpy/test_fill_values.py:42
Functiontest_minimizes_towards_ascii_zero
()
hypothesis/tests/cover/test_simple_strings.py:22
Functiontest_minmax_magnitude_equal
(data, mag)
hypothesis/tests/cover/test_complex_numbers.py:95
Functiontest_misc_sat_filter_rewrites
(data, strategy, predicate)
hypothesis/tests/cover/test_filter_rewriting.py:212
Functiontest_misc_unsat_filter_rewrites
(data, strategy, predicate)
hypothesis/tests/cover/test_filter_rewriting.py:228
Functiontest_mixed_list_flatmap
()
hypothesis/tests/nocover/test_flatmap.py:92
Functiontest_mixed_naive_aware_datetime_bounds_are_invalid
(name, val)
hypothesis/tests/datetime/test_dateutil_timezones.py:55
Functiontest_mixed_naive_aware_datetime_bounds_are_invalid
(name, val)
hypothesis/tests/datetime/test_pytz_timezones.py:56
Functiontest_mixed_text
(x)
hypothesis/tests/cover/test_testdecorators.py:404
Functiontest_mixing_aware_and_naive_bounds_is_invalid
(aware_arg)
hypothesis/tests/cover/test_datetimes.py:325
Functiontest_mock_injection
Ensure that it's possible for mechanisms like `pytest.fixture` and `patch` to inject mocks into hypothesis test functions without side effects
hypothesis/tests/cover/test_regressions.py:68
Methodtest_model_charfield_with_choices_and_blank_includes_empty_string
(self, _)
hypothesis/tests/django/toystore/test_field_lookup.py:76
Methodtest_model_choice_field_with_manually_set_choices
(self)
hypothesis/tests/django/toystore/test_field_lookup.py:93
Methodtest_model_choice_field_with_no_choices_raises
(self)
hypothesis/tests/django/toystore/test_field_lookup.py:87
Methodtest_model_choice_field_with_unordered_queryset_raises
(self)
hypothesis/tests/django/toystore/test_field_lookup.py:102
Functiontest_modifying_lambda_source_code_returns_unknown
(tmp_path)
hypothesis/tests/cover/test_lambda_formatting.py:269
Functiontest_module_too_large
(tmp_path)
hypothesis/tests/cover/test_constants_ast.py:313
Functiontest_module_with_mock_does_not_break
()
hypothesis/tests/ghostwriter/test_ghostwriter.py:422
Functiontest_monitoring_warns_on_registered_tool_id
(warns_or_raises)
hypothesis/tests/cover/test_monitoring.py:33
Functiontest_mostly_does_not_duplicate_blocks_even_when_failing
(n)
hypothesis/tests/nocover/test_duplication.py:46
Functiontest_multiple
()
hypothesis/tests/cover/test_stateful.py:256
Functiontest_multiple_common_targets
()
hypothesis/tests/cover/test_stateful.py:1421
Methodtest_multiple_companies_form_valid
(self, form)
hypothesis/tests/django/toystore/test_given_forms.py:212
Functiontest_multiple_empty_lists_are_independent
()
hypothesis/tests/quality/test_shrink_quality.py:320
Functiontest_multiple_example_reporting
(exc)
hypothesis/tests/cover/test_explicit_examples.py:249
Functiontest_multiple_hypothesisexception
()
hypothesis/tests/cover/test_exceptiongroup.py:147
Functiontest_multiple_invariants
If multiple invariants are present, they all get run.
hypothesis/tests/cover/test_stateful.py:654
Functiontest_multiple_precondition_bug
()
hypothesis/tests/nocover/test_stateful.py:224
Functiontest_multiple_randoms_are_unrelated
()
hypothesis/tests/cover/test_randoms.py:157
Functiontest_multiple_rules_same_func
()
hypothesis/tests/cover/test_stateful.py:108
Functiontest_multiple_stoptest_1
()
hypothesis/tests/cover/test_exceptiongroup.py:114
Functiontest_multiple_stoptest_2
()
hypothesis/tests/cover/test_exceptiongroup.py:124
Functiontest_multiple_target_calls
(args)
hypothesis/tests/cover/test_targeting.py:50
Functiontest_multiple_targets
()
hypothesis/tests/cover/test_stateful.py:1386
Functiontest_multiple_variables_printed
()
hypothesis/tests/cover/test_stateful.py:288
Functiontest_multiple_variables_printed_single_element
()
hypothesis/tests/cover/test_stateful.py:319
Functiontest_multiplefailures_deprecation
()
hypothesis/tests/cover/test_escalation.py:41
Functiontest_multiplexed_dbs_read_and_write_all
()
hypothesis/tests/cover/test_database_backend.py:189
Functiontest_must_agree_with_number_of_arguments
()
hypothesis/tests/cover/test_explicit_examples.py:220
Functiontest_must_raise_a_failure_exception
(x)
hypothesis/tests/cover/test_example.py:77
Functiontest_must_use_result_of_test
()
hypothesis/tests/cover/test_executors.py:20
← previousnext →5,301–5,400 of 6,838, ranked by callers