Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_functools.py::unmodified

== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 04:18:51) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_1008204æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2961751541
0:00:00 load avg: 0.57 Run 1 test sequentially in a single process
0:00:00 load avg: 0.57 [1/1] test_functools
test_cache (test.test_functools.TestCacheC.test_cache) ... skipped 'requires the C _functools module'
test_cache (test.test_functools.TestCachePy.test_cache) ... ok
test_access_from_class (test.test_functools.TestCachedProperty.test_access_from_class) ... ok
test_cached (test.test_functools.TestCachedProperty.test_cached) ... ok
test_cached_attribute_name_differs_from_func_name (test.test_functools.TestCachedProperty.test_cached_attribute_name_differs_from_func_name) ... ok
test_doc (test.test_functools.TestCachedProperty.test_doc) ... ok
test_immutable_dict (test.test_functools.TestCachedProperty.test_immutable_dict) ... ok
test_object_with_slots (test.test_functools.TestCachedProperty.test_object_with_slots) ... ok
test_reuse_different_names (test.test_functools.TestCachedProperty.test_reuse_different_names)
Disallow this case because decorated function a would not be cached. ... ERROR
test_reuse_same_name (test.test_functools.TestCachedProperty.test_reuse_same_name)
Reusing a cached_property on different classes under the same name is OK. ... ok
test_set_name_not_called (test.test_functools.TestCachedProperty.test_set_name_not_called) ... ok
test_subclass_with___set__ (test.test_functools.TestCachedProperty.test_subclass_with___set__)
Caching still works for a subclass defining __set__. ... ok
test_bad_cmp (test.test_functools.TestCmpToKeyC.test_bad_cmp) ... skipped 'requires the C _functools module'
test_cmp_to_key (test.test_functools.TestCmpToKeyC.test_cmp_to_key) ... skipped 'requires the C _functools module'
test_cmp_to_key_arguments (test.test_functools.TestCmpToKeyC.test_cmp_to_key_arguments) ... skipped 'requires the C _functools module'
test_cmp_to_signature (test.test_functools.TestCmpToKeyC.test_cmp_to_signature) ... skipped 'requires the C _functools module'
test_disallow_instantiation (test.test_functools.TestCmpToKeyC.test_disallow_instantiation) ... skipped 'requires the C _functools module'
test_hash (test.test_functools.TestCmpToKeyC.test_hash) ... skipped 'requires the C _functools module'
test_obj_field (test.test_functools.TestCmpToKeyC.test_obj_field) ... skipped 'requires the C _functools module'
test_sort_int (test.test_functools.TestCmpToKeyC.test_sort_int) ... skipped 'requires the C _functools module'
test_sort_int_str (test.test_functools.TestCmpToKeyC.test_sort_int_str) ... skipped 'requires the C _functools module'
test_bad_cmp (test.test_functools.TestCmpToKeyPy.test_bad_cmp) ... ok
test_cmp_to_key (test.test_functools.TestCmpToKeyPy.test_cmp_to_key) ... ok
test_cmp_to_key_arguments (test.test_functools.TestCmpToKeyPy.test_cmp_to_key_arguments) ... ok
test_cmp_to_signature (test.test_functools.TestCmpToKeyPy.test_cmp_to_signature) ... ok
test_hash (test.test_functools.TestCmpToKeyPy.test_hash) ... ok
test_obj_field (test.test_functools.TestCmpToKeyPy.test_obj_field) ... ok
test_sort_int (test.test_functools.TestCmpToKeyPy.test_sort_int) ... ok
test_sort_int_str (test.test_functools.TestCmpToKeyPy.test_sort_int_str) ... ok
test_common_signatures (test.test_functools.TestLRUC.test_common_signatures) ... skipped 'requires the C _functools module'
test_copy (test.test_functools.TestLRUC.test_copy) ... skipped 'requires the C _functools module'
test_deepcopy (test.test_functools.TestLRUC.test_deepcopy) ... skipped 'requires the C _functools module'
test_kwargs_order (test.test_functools.TestLRUC.test_kwargs_order) ... skipped 'requires the C _functools module'
test_lru (test.test_functools.TestLRUC.test_lru) ... skipped 'requires the C _functools module'
test_lru_bug_35780 (test.test_functools.TestLRUC.test_lru_bug_35780) ... skipped 'requires the C _functools module'
test_lru_bug_36650 (test.test_functools.TestLRUC.test_lru_bug_36650) ... skipped 'requires the C _functools module'
test_lru_cache_decoration (test.test_functools.TestLRUC.test_lru_cache_decoration) ... skipped 'requires the C _functools module'
test_lru_cache_parameters (test.test_functools.TestLRUC.test_lru_cache_parameters) ... skipped 'requires the C _functools module'
test_lru_cache_threaded (test.test_functools.TestLRUC.test_lru_cache_threaded) ... skipped 'requires the C _functools module'
test_lru_cache_threaded2 (test.test_functools.TestLRUC.test_lru_cache_threaded2) ... skipped 'requires the C _functools module'
test_lru_cache_threaded3 (test.test_functools.TestLRUC.test_lru_cache_threaded3) ... skipped 'requires the C _functools module'
test_lru_cache_typed_is_not_recursive (test.test_functools.TestLRUC.test_lru_cache_typed_is_not_recursive) ... skipped 'requires the C _functools module'
test_lru_cache_weakrefable (test.test_functools.TestLRUC.test_lru_cache_weakrefable) ... skipped 'requires the C _functools module'
test_lru_hash_only_once (test.test_functools.TestLRUC.test_lru_hash_only_once) ... skipped 'requires the C _functools module'
test_lru_method (test.test_functools.TestLRUC.test_lru_method) ... skipped 'requires the C _functools module'
test_lru_no_args (test.test_functools.TestLRUC.test_lru_no_args) ... skipped 'requires the C _functools module'
test_lru_reentrancy_with_len (test.test_functools.TestLRUC.test_lru_reentrancy_with_len) ... skipped 'requires the C _functools module'
test_lru_star_arg_handling (test.test_functools.TestLRUC.test_lru_star_arg_handling) ... skipped 'requires the C _functools module'
test_lru_type_error (test.test_functools.TestLRUC.test_lru_type_error) ... skipped 'requires the C _functools module'
test_lru_with_exceptions (test.test_functools.TestLRUC.test_lru_with_exceptions) ... skipped 'requires the C _functools module'
test_lru_with_keyword_args (test.test_functools.TestLRUC.test_lru_with_keyword_args) ... skipped 'requires the C _functools module'
test_lru_with_keyword_args_maxsize_none (test.test_functools.TestLRUC.test_lru_with_keyword_args_maxsize_none) ... skipped 'requires the C _functools module'
test_lru_with_maxsize_negative (test.test_functools.TestLRUC.test_lru_with_maxsize_negative) ... skipped 'requires the C _functools module'
test_lru_with_maxsize_none (test.test_functools.TestLRUC.test_lru_with_maxsize_none) ... skipped 'requires the C _functools module'
test_lru_with_types (test.test_functools.TestLRUC.test_lru_with_types) ... skipped 'requires the C _functools module'
test_need_for_rlock (test.test_functools.TestLRUC.test_need_for_rlock) ... skipped 'requires the C _functools module'
test_pickle (test.test_functools.TestLRUC.test_pickle) ... skipped 'requires the C _functools module'
test_common_signatures (test.test_functools.TestLRUPy.test_common_signatures) ... ok
test_copy (test.test_functools.TestLRUPy.test_copy) ... ok
test_deepcopy (test.test_functools.TestLRUPy.test_deepcopy) ... ok
test_kwargs_order (test.test_functools.TestLRUPy.test_kwargs_order) ... ok
test_lru (test.test_functools.TestLRUPy.test_lru) ... ok
test_lru_bug_35780 (test.test_functools.TestLRUPy.test_lru_bug_35780) ... ok
test_lru_bug_36650 (test.test_functools.TestLRUPy.test_lru_bug_36650) ... ok
test_lru_cache_decoration (test.test_functools.TestLRUPy.test_lru_cache_decoration) ... ok
test_lru_cache_parameters (test.test_functools.TestLRUPy.test_lru_cache_parameters) ... ok
test_lru_cache_threaded (test.test_functools.TestLRUPy.test_lru_cache_threaded) ... ok
test_lru_cache_threaded2 (test.test_functools.TestLRUPy.test_lru_cache_threaded2) ... ok
test_lru_cache_threaded3 (test.test_functools.TestLRUPy.test_lru_cache_threaded3) ... ok
test_lru_cache_typed_is_not_recursive (test.test_functools.TestLRUPy.test_lru_cache_typed_is_not_recursive) ... ok
test_lru_cache_weakrefable (test.test_functools.TestLRUPy.test_lru_cache_weakrefable) ... ok
test_lru_hash_only_once (test.test_functools.TestLRUPy.test_lru_hash_only_once) ... ok
test_lru_method (test.test_functools.TestLRUPy.test_lru_method) ... ok
test_lru_no_args (test.test_functools.TestLRUPy.test_lru_no_args) ... ok
test_lru_reentrancy_with_len (test.test_functools.TestLRUPy.test_lru_reentrancy_with_len) ... ok
test_lru_star_arg_handling (test.test_functools.TestLRUPy.test_lru_star_arg_handling) ... ok
test_lru_type_error (test.test_functools.TestLRUPy.test_lru_type_error) ... ok
test_lru_with_exceptions (test.test_functools.TestLRUPy.test_lru_with_exceptions) ... ok
test_lru_with_keyword_args (test.test_functools.TestLRUPy.test_lru_with_keyword_args) ... ok
test_lru_with_keyword_args_maxsize_none (test.test_functools.TestLRUPy.test_lru_with_keyword_args_maxsize_none) ... ok
test_lru_with_maxsize_negative (test.test_functools.TestLRUPy.test_lru_with_maxsize_negative) ... ok
test_lru_with_maxsize_none (test.test_functools.TestLRUPy.test_lru_with_maxsize_none) ... ok
test_lru_with_types (test.test_functools.TestLRUPy.test_lru_with_types) ... ok
test_need_for_rlock (test.test_functools.TestLRUPy.test_need_for_rlock) ... ok
test_pickle (test.test_functools.TestLRUPy.test_pickle) ... ok
test_arg_combinations (test.test_functools.TestPartialC.test_arg_combinations) ... skipped 'requires the C _functools module'
test_argument_checking (test.test_functools.TestPartialC.test_argument_checking) ... skipped 'requires the C _functools module'
test_attributes (test.test_functools.TestPartialC.test_attributes) ... skipped 'requires the C _functools module'
test_attributes_unwritable (test.test_functools.TestPartialC.test_attributes_unwritable) ... skipped 'requires the C _functools module'
test_basic_examples (test.test_functools.TestPartialC.test_basic_examples) ... skipped 'requires the C _functools module'
test_copy (test.test_functools.TestPartialC.test_copy) ... skipped 'requires the C _functools module'
test_deepcopy (test.test_functools.TestPartialC.test_deepcopy) ... skipped 'requires the C _functools module'
test_error_propagation (test.test_functools.TestPartialC.test_error_propagation) ... skipped 'requires the C _functools module'
test_keystr_replaces_value (test.test_functools.TestPartialC.test_keystr_replaces_value) ... skipped 'requires the C _functools module'
test_keyword (test.test_functools.TestPartialC.test_keyword) ... skipped 'requires the C _functools module'
test_kw_combinations (test.test_functools.TestPartialC.test_kw_combinations) ... skipped 'requires the C _functools module'
test_kwargs_copy (test.test_functools.TestPartialC.test_kwargs_copy) ... skipped 'requires the C _functools module'
test_manually_adding_non_string_keyword (test.test_functools.TestPartialC.test_manually_adding_non_string_keyword) ... skipped 'requires the C _functools module'
test_nested_optimization (test.test_functools.TestPartialC.test_nested_optimization) ... skipped 'requires the C _functools module'
test_nested_partial_with_attribute (test.test_functools.TestPartialC.test_nested_partial_with_attribute) ... skipped 'requires the C _functools module'
test_no_side_effects (test.test_functools.TestPartialC.test_no_side_effects) ... skipped 'requires the C _functools module'
test_partial_genericalias (test.test_functools.TestPartialC.test_partial_genericalias) ... skipped 'requires the C _functools module'
test_pickle (test.test_functools.TestPartialC.test_pickle) ... skipped 'requires the C _functools module'
test_positional (test.test_functools.TestPartialC.test_positional) ... skipped 'requires the C _functools module'
test_protection_of_callers_dict_argument (test.test_functools.TestPartialC.test_protection_of_callers_dict_argument) ... skipped 'requires the C _functools module'
test_recursive_pickle (test.test_functools.TestPartialC.test_recursive_pickle) ... skipped 'requires the C _functools module'
test_recursive_repr (test.test_functools.TestPartialC.test_recursive_repr) ... skipped 'requires the C _functools module'
test_repr (test.test_functools.TestPartialC.test_repr) ... skipped 'requires the C _functools module'
test_setstate (test.test_functools.TestPartialC.test_setstate) ... skipped 'requires the C _functools module'
test_setstate_errors (test.test_functools.TestPartialC.test_setstate_errors) ... skipped 'requires the C _functools module'
test_setstate_refcount (test.test_functools.TestPartialC.test_setstate_refcount) ... skipped 'requires the C _functools module'
test_setstate_subclasses (test.test_functools.TestPartialC.test_setstate_subclasses) ... skipped 'requires the C _functools module'
test_weakref (test.test_functools.TestPartialC.test_weakref) ... skipped 'requires the C _functools module'
test_with_bound_and_unbound_methods (test.test_functools.TestPartialC.test_with_bound_and_unbound_methods) ... skipped 'requires the C _functools module'
test_arg_combinations (test.test_functools.TestPartialCSubclass.test_arg_combinations) ... skipped 'requires the C _functools module'
test_argument_checking (test.test_functools.TestPartialCSubclass.test_argument_checking) ... skipped 'requires the C _functools module'
test_attributes (test.test_functools.TestPartialCSubclass.test_attributes) ... skipped 'requires the C _functools module'
test_attributes_unwritable (test.test_functools.TestPartialCSubclass.test_attributes_unwritable) ... skipped 'requires the C _functools module'
test_basic_examples (test.test_functools.TestPartialCSubclass.test_basic_examples) ... skipped 'requires the C _functools module'
test_copy (test.test_functools.TestPartialCSubclass.test_copy) ... skipped 'requires the C _functools module'
test_deepcopy (test.test_functools.TestPartialCSubclass.test_deepcopy) ... skipped 'requires the C _functools module'
test_error_propagation (test.test_functools.TestPartialCSubclass.test_error_propagation) ... skipped 'requires the C _functools module'
test_keystr_replaces_value (test.test_functools.TestPartialCSubclass.test_keystr_replaces_value) ... skipped 'requires the C _functools module'
test_keyword (test.test_functools.TestPartialCSubclass.test_keyword) ... skipped 'requires the C _functools module'
test_kw_combinations (test.test_functools.TestPartialCSubclass.test_kw_combinations) ... skipped 'requires the C _functools module'
test_kwargs_copy (test.test_functools.TestPartialCSubclass.test_kwargs_copy) ... skipped 'requires the C _functools module'
test_manually_adding_non_string_keyword (test.test_functools.TestPartialCSubclass.test_manually_adding_non_string_keyword) ... skipped 'requires the C _functools module'
test_nested_partial_with_attribute (test.test_functools.TestPartialCSubclass.test_nested_partial_with_attribute) ... skipped 'requires the C _functools module'
test_no_side_effects (test.test_functools.TestPartialCSubclass.test_no_side_effects) ... skipped 'requires the C _functools module'
test_partial_genericalias (test.test_functools.TestPartialCSubclass.test_partial_genericalias) ... skipped 'requires the C _functools module'
test_pickle (test.test_functools.TestPartialCSubclass.test_pickle) ... skipped 'requires the C _functools module'
test_positional (test.test_functools.TestPartialCSubclass.test_positional) ... skipped 'requires the C _functools module'
test_protection_of_callers_dict_argument (test.test_functools.TestPartialCSubclass.test_protection_of_callers_dict_argument) ... skipped 'requires the C _functools module'
test_recursive_pickle (test.test_functools.TestPartialCSubclass.test_recursive_pickle) ... skipped 'requires the C _functools module'
test_recursive_repr (test.test_functools.TestPartialCSubclass.test_recursive_repr) ... skipped 'requires the C _functools module'
test_repr (test.test_functools.TestPartialCSubclass.test_repr) ... skipped 'requires the C _functools module'
test_setstate (test.test_functools.TestPartialCSubclass.test_setstate) ... skipped 'requires the C _functools module'
test_setstate_errors (test.test_functools.TestPartialCSubclass.test_setstate_errors) ... skipped 'requires the C _functools module'
test_setstate_refcount (test.test_functools.TestPartialCSubclass.test_setstate_refcount) ... skipped 'requires the C _functools module'
test_setstate_subclasses (test.test_functools.TestPartialCSubclass.test_setstate_subclasses) ... skipped 'requires the C _functools module'
test_weakref (test.test_functools.TestPartialCSubclass.test_weakref) ... skipped 'requires the C _functools module'
test_with_bound_and_unbound_methods (test.test_functools.TestPartialCSubclass.test_with_bound_and_unbound_methods) ... skipped 'requires the C _functools module'
test_abstract (test.test_functools.TestPartialMethod.test_abstract) ... ok
test_arg_combinations (test.test_functools.TestPartialMethod.test_arg_combinations) ... ok
test_bound_method_introspection (test.test_functools.TestPartialMethod.test_bound_method_introspection) ... ok
test_descriptors (test.test_functools.TestPartialMethod.test_descriptors) ... ok
test_invalid_args (test.test_functools.TestPartialMethod.test_invalid_args) ... ok
test_nested (test.test_functools.TestPartialMethod.test_nested) ... ok
test_over_partial (test.test_functools.TestPartialMethod.test_over_partial) ... ok
test_overriding_keywords (test.test_functools.TestPartialMethod.test_overriding_keywords) ... ok
test_positional_only (test.test_functools.TestPartialMethod.test_positional_only) ... ok
test_repr (test.test_functools.TestPartialMethod.test_repr) ... ok
test_unbound_method_retrieval (test.test_functools.TestPartialMethod.test_unbound_method_retrieval) ... ok
test_arg_combinations (test.test_functools.TestPartialPy.test_arg_combinations) ... ok
test_argument_checking (test.test_functools.TestPartialPy.test_argument_checking) ... ok
test_attributes (test.test_functools.TestPartialPy.test_attributes) ... ok
test_basic_examples (test.test_functools.TestPartialPy.test_basic_examples) ... ok
test_copy (test.test_functools.TestPartialPy.test_copy) ... ok
test_deepcopy (test.test_functools.TestPartialPy.test_deepcopy) ... ok
test_error_propagation (test.test_functools.TestPartialPy.test_error_propagation) ... ok
test_keyword (test.test_functools.TestPartialPy.test_keyword) ... ok
test_kw_combinations (test.test_functools.TestPartialPy.test_kw_combinations) ... ok
test_kwargs_copy (test.test_functools.TestPartialPy.test_kwargs_copy) ... ok
test_nested_optimization (test.test_functools.TestPartialPy.test_nested_optimization) ... ok
test_nested_partial_with_attribute (test.test_functools.TestPartialPy.test_nested_partial_with_attribute) ... ok
test_no_side_effects (test.test_functools.TestPartialPy.test_no_side_effects) ... ok
test_partial_genericalias (test.test_functools.TestPartialPy.test_partial_genericalias) ... ok
test_pickle (test.test_functools.TestPartialPy.test_pickle) ... ok
test_positional (test.test_functools.TestPartialPy.test_positional) ... ok
test_protection_of_callers_dict_argument (test.test_functools.TestPartialPy.test_protection_of_callers_dict_argument) ... ok
test_recursive_pickle (test.test_functools.TestPartialPy.test_recursive_pickle) ... ok
test_recursive_repr (test.test_functools.TestPartialPy.test_recursive_repr) ... ok
test_repr (test.test_functools.TestPartialPy.test_repr) ... ok
test_setstate (test.test_functools.TestPartialPy.test_setstate) ... ok
test_setstate_errors (test.test_functools.TestPartialPy.test_setstate_errors) ... ok
test_setstate_refcount (test.test_functools.TestPartialPy.test_setstate_refcount) ... ok
test_setstate_subclasses (test.test_functools.TestPartialPy.test_setstate_subclasses) ... ok
test_weakref (test.test_functools.TestPartialPy.test_weakref) ... ok
test_with_bound_and_unbound_methods (test.test_functools.TestPartialPy.test_with_bound_and_unbound_methods) ... ok
test_arg_combinations (test.test_functools.TestPartialPySubclass.test_arg_combinations) ... ok
test_argument_checking (test.test_functools.TestPartialPySubclass.test_argument_checking) ... ok
test_attributes (test.test_functools.TestPartialPySubclass.test_attributes) ... ok
test_basic_examples (test.test_functools.TestPartialPySubclass.test_basic_examples) ... ok
test_copy (test.test_functools.TestPartialPySubclass.test_copy) ... ok
test_deepcopy (test.test_functools.TestPartialPySubclass.test_deepcopy) ... ok
test_error_propagation (test.test_functools.TestPartialPySubclass.test_error_propagation) ... ok
test_keyword (test.test_functools.TestPartialPySubclass.test_keyword) ... ok
test_kw_combinations (test.test_functools.TestPartialPySubclass.test_kw_combinations) ... ok
test_kwargs_copy (test.test_functools.TestPartialPySubclass.test_kwargs_copy) ... ok
test_nested_optimization (test.test_functools.TestPartialPySubclass.test_nested_optimization) ... ok
test_nested_partial_with_attribute (test.test_functools.TestPartialPySubclass.test_nested_partial_with_attribute) ... ok
test_no_side_effects (test.test_functools.TestPartialPySubclass.test_no_side_effects) ... ok
test_partial_genericalias (test.test_functools.TestPartialPySubclass.test_partial_genericalias) ... ok
test_pickle (test.test_functools.TestPartialPySubclass.test_pickle) ... ok
test_positional (test.test_functools.TestPartialPySubclass.test_positional) ... ok
test_protection_of_callers_dict_argument (test.test_functools.TestPartialPySubclass.test_protection_of_callers_dict_argument) ... ok
test_recursive_pickle (test.test_functools.TestPartialPySubclass.test_recursive_pickle) ... ok
test_recursive_repr (test.test_functools.TestPartialPySubclass.test_recursive_repr) ... ok
test_repr (test.test_functools.TestPartialPySubclass.test_repr) ... ok
test_setstate (test.test_functools.TestPartialPySubclass.test_setstate) ... ok
test_setstate_errors (test.test_functools.TestPartialPySubclass.test_setstate_errors) ... ok
test_setstate_refcount (test.test_functools.TestPartialPySubclass.test_setstate_refcount) ... ok
test_setstate_subclasses (test.test_functools.TestPartialPySubclass.test_setstate_subclasses) ... ok
test_weakref (test.test_functools.TestPartialPySubclass.test_weakref) ... ok
test_with_bound_and_unbound_methods (test.test_functools.TestPartialPySubclass.test_with_bound_and_unbound_methods) ... ok
test_iterator_usage (test.test_functools.TestReduceC.test_iterator_usage) ... skipped 'requires the C _functools module'
test_reduce (test.test_functools.TestReduceC.test_reduce) ... skipped 'requires the C _functools module'
test_iterator_usage (test.test_functools.TestReducePy.test_iterator_usage) ... ok
test_reduce (test.test_functools.TestReducePy.test_reduce) ... ok
test_abstractmethod_register (test.test_functools.TestSingleDispatch.test_abstractmethod_register) ... ok
test_annotations (test.test_functools.TestSingleDispatch.test_annotations) ... ok
test_c3_abc (test.test_functools.TestSingleDispatch.test_c3_abc) ... ok
test_c_classes (test.test_functools.TestSingleDispatch.test_c_classes) ... skipped 'requires _decimal'
test_cache_invalidation (test.test_functools.TestSingleDispatch.test_cache_invalidation) ... ok
test_callable_register (test.test_functools.TestSingleDispatch.test_callable_register) ... ok
test_classmethod_register (test.test_functools.TestSingleDispatch.test_classmethod_register) ... ok
test_classmethod_type_ann_register (test.test_functools.TestSingleDispatch.test_classmethod_type_ann_register) ... ok
test_compose_mro (test.test_functools.TestSingleDispatch.test_compose_mro) ... ok
test_double_wrapped_methods (test.test_functools.TestSingleDispatch.test_double_wrapped_methods) ... ok
test_false_meta (test.test_functools.TestSingleDispatch.test_false_meta) ... ok
test_invalid_positional_argument (test.test_functools.TestSingleDispatch.test_invalid_positional_argument) ... ok
test_invalid_registrations (test.test_functools.TestSingleDispatch.test_invalid_registrations) ... ok
test_method_bad_hash (test.test_functools.TestSingleDispatch.test_method_bad_hash) ... ok
test_method_equal_instances (test.test_functools.TestSingleDispatch.test_method_equal_instances) ... ok
test_method_no_reference_loops (test.test_functools.TestSingleDispatch.test_method_no_reference_loops) ... ok
test_method_register (test.test_functools.TestSingleDispatch.test_method_register) ... ok
test_method_signatures (test.test_functools.TestSingleDispatch.test_method_signatures) ... ok
test_method_wrapping_attributes (test.test_functools.TestSingleDispatch.test_method_wrapping_attributes) ... ok
test_mro (test.test_functools.TestSingleDispatch.test_mro) ... ok
test_mro_conflicts (test.test_functools.TestSingleDispatch.test_mro_conflicts) ... ok
test_register_abc (test.test_functools.TestSingleDispatch.test_register_abc) ... ok
test_register_decorator (test.test_functools.TestSingleDispatch.test_register_decorator) ... ok
test_register_genericalias (test.test_functools.TestSingleDispatch.test_register_genericalias) ... ok
test_register_genericalias_annotation (test.test_functools.TestSingleDispatch.test_register_genericalias_annotation) ... ok
test_register_genericalias_decorator (test.test_functools.TestSingleDispatch.test_register_genericalias_decorator) ... ok
test_signatures (test.test_functools.TestSingleDispatch.test_signatures) ... ok
test_simple_overloads (test.test_functools.TestSingleDispatch.test_simple_overloads) ... ok
test_staticmethod_register (test.test_functools.TestSingleDispatch.test_staticmethod_register) ... ok
test_staticmethod_type_ann_register (test.test_functools.TestSingleDispatch.test_staticmethod_type_ann_register) ... ok
test_type_ann_register (test.test_functools.TestSingleDispatch.test_type_ann_register) ... ok
test_union (test.test_functools.TestSingleDispatch.test_union) ... ok
test_union_None (test.test_functools.TestSingleDispatch.test_union_None) ... ok
test_union_conflict (test.test_functools.TestSingleDispatch.test_union_conflict) ... ok
test_wrapping_attributes (test.test_functools.TestSingleDispatch.test_wrapping_attributes) ... ok
test_no_operations_defined (test.test_functools.TestTotalOrdering.test_no_operations_defined) ... ok
test_notimplemented (test.test_functools.TestTotalOrdering.test_notimplemented) ... ok
test_pickle (test.test_functools.TestTotalOrdering.test_pickle) ... ok
test_total_ordering_for_metaclasses_issue_44605 (test.test_functools.TestTotalOrdering.test_total_ordering_for_metaclasses_issue_44605) ... ok
test_total_ordering_ge (test.test_functools.TestTotalOrdering.test_total_ordering_ge) ... ok
test_total_ordering_gt (test.test_functools.TestTotalOrdering.test_total_ordering_gt) ... ok
test_total_ordering_le (test.test_functools.TestTotalOrdering.test_total_ordering_le) ... ok
test_total_ordering_lt (test.test_functools.TestTotalOrdering.test_total_ordering_lt) ... ok
test_total_ordering_no_overwrite (test.test_functools.TestTotalOrdering.test_total_ordering_no_overwrite) ... ok
test_type_error_when_not_implemented (test.test_functools.TestTotalOrdering.test_type_error_when_not_implemented) ... ok
test_builtin_update (test.test_functools.TestUpdateWrapper.test_builtin_update) ... ok
test_default_update (test.test_functools.TestUpdateWrapper.test_default_update) ... ok
test_default_update_doc (test.test_functools.TestUpdateWrapper.test_default_update_doc) ... ok
test_missing_attributes (test.test_functools.TestUpdateWrapper.test_missing_attributes) ... ok
test_no_update (test.test_functools.TestUpdateWrapper.test_no_update) ... ok
test_selective_update (test.test_functools.TestUpdateWrapper.test_selective_update) ... ok
test_update_type_wrapper (test.test_functools.TestUpdateWrapper.test_update_type_wrapper) ... ERROR
test_builtin_update (test.test_functools.TestWraps.test_builtin_update) ... ok
test_default_update (test.test_functools.TestWraps.test_default_update) ... ok
test_default_update_doc (test.test_functools.TestWraps.test_default_update_doc) ... ok
test_missing_attributes (test.test_functools.TestWraps.test_missing_attributes) ... ok
test_no_update (test.test_functools.TestWraps.test_no_update) ... ok
test_selective_update (test.test_functools.TestWraps.test_selective_update) ... ok
test_update_type_wrapper (test.test_functools.TestWraps.test_update_type_wrapper) ... ERROR

======================================================================
ERROR: test_reuse_different_names (test.test_functools.TestCachedProperty.test_reuse_different_names)
Disallow this case because decorated function a would not be cached.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py", line 977, in __set_name__
    raise TypeError(
TypeError: Cannot assign the same cached_property to two different names ('a' and 'b').

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_functools.py", line 3135, in test_reuse_different_names
    class ReusedCachedProperty:
RuntimeError: Error calling __set_name__ on 'cached_property' instance 'b' in 'ReusedCachedProperty'

======================================================================
ERROR: test_update_type_wrapper (test.test_functools.TestUpdateWrapper.test_update_type_wrapper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_functools.py", line 726, in test_update_type_wrapper
    functools.update_wrapper(wrapper, type)
              ^^^^^^^^^^^^^^
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py", line 56, in update_wrapper
    setattr(wrapper, attr, value)
TypeError: __annotations__ must be a dict

======================================================================
ERROR: test_update_type_wrapper (test.test_functools.TestWraps.test_update_type_wrapper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_functools.py", line 726, in test_update_type_wrapper
    functools.update_wrapper(wrapper, type)
              ^^^^^^^^^^^^^^
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/functools.py", line 56, in update_wrapper
    setattr(wrapper, attr, value)
TypeError: __annotations__ must be a dict

----------------------------------------------------------------------
Ran 268 tests in 0.408s

FAILED (errors=3, skipped=98)
0:00:00 load avg: 0.57 [1/1/1] test_functools failed (3 errors)

== Tests result: FAILURE ==

1 test failed:
    test_functools

Total duration: 618 ms
Total tests: run=268 skipped=98
Total test files: run=1/1 failed=1
Result: FAILURE
test test_functools failed
builder: pypy-c-jit-linux-x86-64 build #11855+
test: lib-python/3/test/test_functools.py::unmodified