MCPcopy Create free account

hub / github.com/HypothesisWorks/hypothesis / functions

Functions6,838 in github.com/HypothesisWorks/hypothesis

Functiontest_can_restrict_endianness
(data, byteorder)
hypothesis/tests/numpy/test_gen_data.py:219
Functiontest_can_restrict_to_ascii_only
(s)
hypothesis/tests/cover/test_simple_strings.py:108
Functiontest_can_rewrite_multiple_length_filters_if_not_lambdas
(data)
hypothesis/tests/cover/test_filter_rewriting.py:438
Functiontest_can_run_doctests
(testdir)
hypothesis/tests/pytest/test_doctest.py:23
Functiontest_can_run_given_in_thread
()
hypothesis/tests/nocover/test_threading.py:40
Functiontest_can_run_with_database_in_thread
()
hypothesis/tests/cover/test_testdecorators.py:348
Functiontest_can_run_with_no_db
()
hypothesis/tests/cover/test_stateful.py:508
Functiontest_can_run_without_database
()
hypothesis/tests/cover/test_testdecorators.py:337
Functiontest_can_sample_1D_numpy_array_without_warning
(data, arr)
hypothesis/tests/numpy/test_sampled_from.py:22
Functiontest_can_sample_enums
(enum_class)
hypothesis/tests/cover/test_sampled_from.py:62
Functiontest_can_sample_from_large_subset
(rnd)
hypothesis/tests/cover/test_randoms.py:404
Functiontest_can_sample_from_single_element
(x)
hypothesis/tests/cover/test_testdecorators.py:251
Functiontest_can_sample_from_whole_range
(rnd)
hypothesis/tests/cover/test_randoms.py:397
Functiontest_can_sample_ordereddict_without_warning
()
hypothesis/tests/cover/test_sampled_from.py:57
Functiontest_can_sample_sequence_without_warning
()
hypothesis/tests/cover/test_sampled_from.py:53
Functiontest_can_seed_random
()
hypothesis/tests/cover/test_random_module.py:44
Functiontest_can_select_mark
(testdir)
hypothesis/tests/pytest/test_mark.py:27
Functiontest_can_select_mark_on_unittest
(testdir)
hypothesis/tests/pytest/test_mark.py:51
Functiontest_can_set_exact_leaf_count
(tree)
hypothesis/tests/cover/test_recursive.py:151
Functiontest_can_set_homedir
(tmp_path)
hypothesis/tests/cover/test_filestorage.py:41
Functiontest_can_set_max_size_large
(s)
hypothesis/tests/cover/test_simple_strings.py:120
Functiontest_can_set_phase_to_integers
()
hypothesis/tests/cover/test_settings.py:665
Functiontest_can_set_phase_to_strings
()
hypothesis/tests/cover/test_settings.py:621
Functiontest_can_set_suppressions_to_integers
()
hypothesis/tests/cover/test_settings.py:673
Functiontest_can_set_suppressions_to_strings
()
hypothesis/tests/cover/test_settings.py:629
Functiontest_can_set_verbosity
()
hypothesis/tests/cover/test_settings.py:116
Functiontest_can_set_verbosity_to_integers
()
hypothesis/tests/cover/test_settings.py:657
Functiontest_can_set_verbosity_to_strings
()
hypothesis/tests/cover/test_settings.py:614
Functiontest_can_shrink_downwards
(start, end)
hypothesis/tests/conjecture/test_float_encoding.py:161
Functiontest_can_shrink_in_variable_sized_context
(n)
hypothesis/tests/quality/test_float_shrinking.py:25
Functiontest_can_shrink_matrices_with_length_param
()
hypothesis/tests/cover/test_composite.py:110
Functiontest_can_shrink_through_a_binding
(n)
hypothesis/tests/nocover/test_flatmap.py:106
Functiontest_can_shrink_to_every_smaller_alternative
(i, alts, seed, force_small)
hypothesis/tests/nocover/test_precise_shrinking.py:315
Functiontest_can_shrink_variable_draws
(n_large)
hypothesis/tests/conjecture/test_engine.py:518
Functiontest_can_shrink_variable_draws_with_just_deletion
(n)
hypothesis/tests/conjecture/test_shrinker.py:45
Functiontest_can_shrink_variable_string_draws
()
hypothesis/tests/conjecture/test_engine.py:531
Functiontest_can_shrink_variable_string_draws_with_dependent_overrun
()
hypothesis/tests/conjecture/test_engine.py:562
Functiontest_can_simplify_across_flatmap_of_just
()
hypothesis/tests/quality/test_shrink_quality.py:121
Functiontest_can_simplify_flatmap_with_bounded_left_hand_size
()
hypothesis/tests/quality/test_shrink_quality.py:114
Functiontest_can_simplify_on_both_sides_of_flatmap
()
hypothesis/tests/quality/test_shrink_quality.py:137
Functiontest_can_simplify_on_right_hand_strategy_of_flatmap
()
hypothesis/tests/quality/test_shrink_quality.py:125
Functiontest_can_simplify_shared_lists
()
hypothesis/tests/nocover/test_sharing.py:49
Functiontest_can_simultaneously_lower_non_duplicated_nearby_integers
(n_gap)
hypothesis/tests/conjecture/test_shrinker.py:499
Functiontest_can_sort_bytes_by_reordering
()
hypothesis/tests/conjecture/test_minimizer.py:41
Functiontest_can_sort_bytes_by_reordering_partially
()
hypothesis/tests/conjecture/test_minimizer.py:47
Functiontest_can_sort_bytes_by_reordering_partially2
()
hypothesis/tests/conjecture/test_minimizer.py:53
Functiontest_can_sort_bytes_by_reordering_partially_not_cross_stationary_element
()
hypothesis/tests/conjecture/test_minimizer.py:63
Functiontest_can_specify_both_rows_and_columns_dict
(d)
hypothesis/tests/pandas/test_data_frame.py:142
Functiontest_can_specify_both_rows_and_columns_list
(d)
hypothesis/tests/pandas/test_data_frame.py:112
Functiontest_can_specify_both_rows_and_columns_tuple
(d)
hypothesis/tests/pandas/test_data_frame.py:127
Functiontest_can_specify_just_column_count
(df)
hypothesis/tests/pandas/test_data_frame.py:91
Functiontest_can_specify_just_column_names
(df)
hypothesis/tests/pandas/test_data_frame.py:85
Functiontest_can_specify_size_as_an_int
(dt)
hypothesis/tests/numpy/test_gen_data.py:228
Functiontest_can_specify_sizes_as_an_int
Strategy treats ints as a single size.
hypothesis/tests/array_api/test_scalar_dtypes.py:118
Functiontest_can_specify_start_rule
(data, start, type_)
hypothesis/tests/lark/test_grammar.py:69
Functiontest_can_specify_unique_with_rows
(df)
hypothesis/tests/pandas/test_data_frame.py:254
Functiontest_can_star_import_from_hypothesis
()
hypothesis/tests/nocover/test_imports.py:15
Functiontest_can_suppress_nested_given
()
hypothesis/tests/cover/test_health_checks.py:242
Functiontest_can_test_kwargs_only_methods
(**kwargs)
hypothesis/tests/cover/test_testdecorators.py:279
Functiontest_can_test_sets_sampled_from
(xs)
hypothesis/tests/cover/test_testdecorators.py:207
Functiontest_can_trigger_error_in_draw_near_boundary
(bound)
hypothesis/tests/datetime/test_pytz_timezones.py:143
Functiontest_can_turn_off_subarrays
(dt)
hypothesis/tests/numpy/test_gen_data.py:208
Functiontest_can_unicode_strings_without_decode_error
(arr)
hypothesis/tests/numpy/test_from_dtype.py:113
Functiontest_can_use_examples_after_given
()
hypothesis/tests/cover/test_explicit_examples.py:84
Functiontest_can_use_examples_around_given
()
hypothesis/tests/cover/test_explicit_examples.py:108
Functiontest_can_use_examples_before_given
()
hypothesis/tests/cover/test_explicit_examples.py:96
Functiontest_can_use_factory_for_tests
()
hypothesis/tests/cover/test_stateful.py:440
Functiontest_can_use_pure_args
()
hypothesis/tests/cover/test_composite.py:93
Functiontest_can_use_recursive_data_in_sets
()
hypothesis/tests/nocover/test_recursive.py:85
Functiontest_can_use_type_hints
(a: int, b: float)
hypothesis/tests/cover/test_lookup.py:496
Functiontest_can_write_bytes_towards_the_end
()
hypothesis/tests/conjecture/test_engine.py:620
Functiontest_can_zero_subintervals
()
hypothesis/tests/conjecture/test_shrinker.py:113
Functiontest_cannot_assign_default
()
hypothesis/tests/cover/test_settings.py:219
Functiontest_cannot_cleanup_with_no_context
()
hypothesis/tests/cover/test_control.py:42
Functiontest_cannot_convert_EBNF_to_strategy_directly
()
hypothesis/tests/lark/test_grammar.py:105
Functiontest_cannot_draw_after_freeze
()
hypothesis/tests/conjecture/test_test_data.py:40
Functiontest_cannot_draw_unique_arrays_with_too_small_elements
Unique strategy with elements strategy range smaller than its size raises helpful error.
hypothesis/tests/array_api/test_arrays.py:230
Functiontest_cannot_event_with_no_context
()
hypothesis/tests/cover/test_control.py:48
Functiontest_cannot_exclude_endpoint_with_zero_interval
(lo, hi, exmin, exmax)
hypothesis/tests/cover/test_float_nastiness.py:255
Functiontest_cannot_fill_arrays_with_non_castable_value
Strategy with fill not castable to dtype raises helpful error.
hypothesis/tests/array_api/test_arrays.py:239
Functiontest_cannot_find_non_strategies
()
hypothesis/tests/cover/test_validation.py:209
Functiontest_cannot_force_inference_for_unannotated_arg
()
hypothesis/tests/cover/test_lookup.py:460
Functiontest_cannot_generate_newaxis_when_disabled
Strategy does not generate newaxis when disabled (i.e. the default).
hypothesis/tests/array_api/test_indices.py:40
Functiontest_cannot_generate_unique_array_of_too_many_elements
()
hypothesis/tests/numpy/test_gen_data.py:262
Functiontest_cannot_have_zero_steps
()
hypothesis/tests/cover/test_stateful.py:1192
Functiontest_cannot_infer
(c)
hypothesis/tests/attrs/test_inference.py:92
Functiontest_cannot_infer_takes_self
()
hypothesis/tests/attrs/test_inference.py:97
Functiontest_cannot_modify_forced_nodes
(node)
hypothesis/tests/conjecture/test_choice.py:340
Functiontest_cannot_pass_infer_as_posarg
()
hypothesis/tests/cover/test_lookup.py:455
Functiontest_cannot_pass_strategies_by_position_if_there_are_posonly_args
()
hypothesis/tests/cover/test_lookup_py38.py:183
Functiontest_cannot_pass_strategies_for_posonly_args
(x, /)
hypothesis/tests/cover/test_lookup_py38.py:194
Functiontest_cannot_permute_non_sequence_types
()
hypothesis/tests/cover/test_permutations.py:37
Functiontest_cannot_register_empty
()
hypothesis/tests/cover/test_type_lookup.py:202
Functiontest_cannot_register_non_Random
()
hypothesis/tests/cover/test_random_module.py:72
Functiontest_cannot_register_profile_from_inside_test
(x)
hypothesis/tests/cover/test_settings.py:610
Functiontest_cannot_resolve_abstract_class_with_no_concrete_subclass
(instance)
hypothesis/tests/cover/test_lookup.py:910
Functiontest_cannot_resolve_un_registered_protocol
()
hypothesis/tests/cover/test_lookup_py38.py:253
Functiontest_cannot_sample_sets
()
hypothesis/tests/cover/test_sampled_from.py:49
Functiontest_cannot_set_non_settings
()
hypothesis/tests/cover/test_settings.py:78
Functiontest_cannot_set_settings
()
hypothesis/tests/cover/test_settings.py:195
← previousnext →3,801–3,900 of 6,838, ranked by callers