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

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

== PyPy 3.12.13 (8ba7ab03fab8, Jul 08 2026, 04:20:17) [PyPy 7.3.24-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_266908æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2885434913
0:00:00 load avg: 1.31 Run 1 test sequentially in a single process
0:00:00 load avg: 1.31 [1/1] test_abc
test_positional_only_and_kwonlyargs_with_init_subclass (test.test_abc.test_factory.<locals>.TestABCWithInitSubclass.test_positional_only_and_kwonlyargs_with_init_subclass) ... ok
test_works_with_init_subclass (test.test_abc.test_factory.<locals>.TestABCWithInitSubclass.test_works_with_init_subclass) ... ok
test_positional_only_and_kwonlyargs_with_init_subclass (test.test_abc.test_factory.<locals>.TestABCWithInitSubclass.test_positional_only_and_kwonlyargs_with_init_subclass) ... ok
test_works_with_init_subclass (test.test_abc.test_factory.<locals>.TestABCWithInitSubclass.test_works_with_init_subclass) ... ok
test_ABC_has___slots__ (test.test_abc.test_factory.<locals>.TestABC.test_ABC_has___slots__) ... ok
test_ABC_helper (test.test_abc.test_factory.<locals>.TestABC.test_ABC_helper) ... ok
test_abstractclassmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractclassmethod_basics) ... ok
test_abstractmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractmethod_basics) ... ok
test_abstractmethod_integration (test.test_abc.test_factory.<locals>.TestABC.test_abstractmethod_integration) ... ok
test_abstractproperty_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractproperty_basics) ... ok
test_abstractstaticmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractstaticmethod_basics) ... ok
test_all_new_methods_are_called (test.test_abc.test_factory.<locals>.TestABC.test_all_new_methods_are_called) ... ok
test_customdescriptors_with_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_customdescriptors_with_abstractmethod) ... ok
test_descriptors_with_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_descriptors_with_abstractmethod) ... ok
test_isinstance_invalidation (test.test_abc.test_factory.<locals>.TestABC.test_isinstance_invalidation) ... ok
test_issubclass_bad_arguments (test.test_abc.test_factory.<locals>.TestABC.test_issubclass_bad_arguments) ... ok
test_metaclass_abc (test.test_abc.test_factory.<locals>.TestABC.test_metaclass_abc) ... ok
test_object_new_with_many_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_many_abstractmethods) ... FAIL
test_object_new_with_one_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_one_abstractmethod) ... FAIL
test_register_as_class_deco (test.test_abc.test_factory.<locals>.TestABC.test_register_as_class_deco) ... ok
test_register_non_class (test.test_abc.test_factory.<locals>.TestABC.test_register_non_class) ... ok
test_registration_basics (test.test_abc.test_factory.<locals>.TestABC.test_registration_basics) ... ok
test_registration_builtins (test.test_abc.test_factory.<locals>.TestABC.test_registration_builtins) ... ok
test_registration_edge_cases (test.test_abc.test_factory.<locals>.TestABC.test_registration_edge_cases) ... ok
test_registration_transitiveness (test.test_abc.test_factory.<locals>.TestABC.test_registration_transitiveness) ... ok
test_subclasshook (test.test_abc.test_factory.<locals>.TestABC.test_subclasshook) ... ok
test_tricky_new_works (test.test_abc.test_factory.<locals>.TestABC.test_tricky_new_works) ... ok
test_update_as_decorator (test.test_abc.test_factory.<locals>.TestABC.test_update_as_decorator) ... ok
test_update_del (test.test_abc.test_factory.<locals>.TestABC.test_update_del) ... ok
test_update_del_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_del_implementation) ... FAIL
test_update_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_implementation) ... FAIL
test_update_layered_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_layered_implementation) ... FAIL
test_update_multi_inheritance (test.test_abc.test_factory.<locals>.TestABC.test_update_multi_inheritance) ... ok
test_update_new_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_update_new_abstractmethods) ... FAIL
test_update_non_abc (test.test_abc.test_factory.<locals>.TestABC.test_update_non_abc) ... ok
test_ABC_has___slots__ (test.test_abc.test_factory.<locals>.TestABC.test_ABC_has___slots__) ... ok
test_ABC_helper (test.test_abc.test_factory.<locals>.TestABC.test_ABC_helper) ... ok
test_abstractclassmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractclassmethod_basics) ... ok
test_abstractmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractmethod_basics) ... ok
test_abstractmethod_integration (test.test_abc.test_factory.<locals>.TestABC.test_abstractmethod_integration) ... ok
test_abstractproperty_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractproperty_basics) ... ok
test_abstractstaticmethod_basics (test.test_abc.test_factory.<locals>.TestABC.test_abstractstaticmethod_basics) ... ok
test_all_new_methods_are_called (test.test_abc.test_factory.<locals>.TestABC.test_all_new_methods_are_called) ... ok
test_customdescriptors_with_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_customdescriptors_with_abstractmethod) ... ok
test_descriptors_with_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_descriptors_with_abstractmethod) ... ok
test_isinstance_invalidation (test.test_abc.test_factory.<locals>.TestABC.test_isinstance_invalidation) ... ok
test_issubclass_bad_arguments (test.test_abc.test_factory.<locals>.TestABC.test_issubclass_bad_arguments) ... ok
test_metaclass_abc (test.test_abc.test_factory.<locals>.TestABC.test_metaclass_abc) ... ok
test_object_new_with_many_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_many_abstractmethods) ... FAIL
test_object_new_with_one_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_one_abstractmethod) ... FAIL
test_register_as_class_deco (test.test_abc.test_factory.<locals>.TestABC.test_register_as_class_deco) ... ok
test_register_non_class (test.test_abc.test_factory.<locals>.TestABC.test_register_non_class) ... ok
test_registration_basics (test.test_abc.test_factory.<locals>.TestABC.test_registration_basics) ... ok
test_registration_builtins (test.test_abc.test_factory.<locals>.TestABC.test_registration_builtins) ... ok
test_registration_edge_cases (test.test_abc.test_factory.<locals>.TestABC.test_registration_edge_cases) ... ok
test_registration_transitiveness (test.test_abc.test_factory.<locals>.TestABC.test_registration_transitiveness) ... ok
test_subclasshook (test.test_abc.test_factory.<locals>.TestABC.test_subclasshook) ... ok
test_tricky_new_works (test.test_abc.test_factory.<locals>.TestABC.test_tricky_new_works) ... ok
test_update_as_decorator (test.test_abc.test_factory.<locals>.TestABC.test_update_as_decorator) ... ok
test_update_del (test.test_abc.test_factory.<locals>.TestABC.test_update_del) ... ok
test_update_del_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_del_implementation) ... FAIL
test_update_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_implementation) ... FAIL
test_update_layered_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_layered_implementation) ... FAIL
test_update_multi_inheritance (test.test_abc.test_factory.<locals>.TestABC.test_update_multi_inheritance) ... ok
test_update_new_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_update_new_abstractmethods) ... FAIL
test_update_non_abc (test.test_abc.test_factory.<locals>.TestABC.test_update_non_abc) ... ok
test_abstractclassmethod_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractclassmethod_basics) ... ok
test_abstractproperty_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractproperty_basics) ... ok
test_abstractstaticmethod_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractstaticmethod_basics) ... ok
test_abstractclassmethod_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractclassmethod_basics) ... ok
test_abstractproperty_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractproperty_basics) ... ok
test_abstractstaticmethod_basics (test.test_abc.test_factory.<locals>.TestLegacyAPI.test_abstractstaticmethod_basics) ... ok

======================================================================
FAIL: test_object_new_with_many_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_many_abstractmethods)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class C with abstract methods method_one, method_two

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 169, in test_object_new_with_many_abstractmethods
    self.assertRaisesRegex(TypeError, msg, C)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class C without an implementation for abstract methods 'method_one', 'method_two'" does not match "Can't instantiate abstract class C with abstract methods method_one, method_two"

======================================================================
FAIL: test_object_new_with_one_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_one_abstractmethod)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class C with abstract method method_one

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 158, in test_object_new_with_one_abstractmethod
    self.assertRaisesRegex(TypeError, msg, C)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class C without an implementation for abstract method 'method_one'" does not match "Can't instantiate abstract class C with abstract method method_one"

======================================================================
FAIL: test_update_del_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_del_implementation)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class B with abstract method foo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 610, in test_update_del_implementation
    self.assertRaisesRegex(TypeError, msg, B)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class B without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class B with abstract method foo"

======================================================================
FAIL: test_update_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_implementation)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class B with abstract method foo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 552, in test_update_implementation
    self.assertRaisesRegex(TypeError, msg, B)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class B without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class B with abstract method foo"

======================================================================
FAIL: test_update_layered_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_layered_implementation)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class C with abstract method foo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 632, in test_update_layered_implementation
    self.assertRaisesRegex(TypeError, msg, C)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class C without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class C with abstract method foo"

======================================================================
FAIL: test_update_new_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_update_new_abstractmethods)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class A with abstract methods bar, foo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 540, in test_update_new_abstractmethods
    self.assertRaisesRegex(TypeError, msg, A)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class A without an implementation for abstract methods 'bar', 'foo'" does not match "Can't instantiate abstract class A with abstract methods bar, foo"

======================================================================
FAIL: test_object_new_with_many_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_many_abstractmethods)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class C with abstract methods method_one, method_two

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 169, in test_object_new_with_many_abstractmethods
    self.assertRaisesRegex(TypeError, msg, C)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class C without an implementation for abstract methods 'method_one', 'method_two'" does not match "Can't instantiate abstract class C with abstract methods method_one, method_two"

======================================================================
FAIL: test_object_new_with_one_abstractmethod (test.test_abc.test_factory.<locals>.TestABC.test_object_new_with_one_abstractmethod)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class C with abstract method method_one

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 158, in test_object_new_with_one_abstractmethod
    self.assertRaisesRegex(TypeError, msg, C)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class C without an implementation for abstract method 'method_one'" does not match "Can't instantiate abstract class C with abstract method method_one"

======================================================================
FAIL: test_update_del_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_del_implementation)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class B with abstract method foo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 610, in test_update_del_implementation
    self.assertRaisesRegex(TypeError, msg, B)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class B without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class B with abstract method foo"

======================================================================
FAIL: test_update_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_implementation)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class B with abstract method foo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 552, in test_update_implementation
    self.assertRaisesRegex(TypeError, msg, B)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class B without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class B with abstract method foo"

======================================================================
FAIL: test_update_layered_implementation (test.test_abc.test_factory.<locals>.TestABC.test_update_layered_implementation)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class C with abstract method foo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 632, in test_update_layered_implementation
    self.assertRaisesRegex(TypeError, msg, C)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class C without an implementation for abstract method 'foo'" does not match "Can't instantiate abstract class C with abstract method foo"

======================================================================
FAIL: test_update_new_abstractmethods (test.test_abc.test_factory.<locals>.TestABC.test_update_new_abstractmethods)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class A with abstract methods bar, foo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_abc.py", line 540, in test_update_new_abstractmethods
    self.assertRaisesRegex(TypeError, msg, A)
         ^^^^^^^^^^^^^^^^^
AssertionError: "class A without an implementation for abstract methods 'bar', 'foo'" does not match "Can't instantiate abstract class A with abstract methods bar, foo"

----------------------------------------------------------------------
Ran 72 tests in 0.034s

FAILED (failures=12)
0:00:00 load avg: 1.29 [1/1/1] test_abc failed (12 failures)

== Tests result: FAILURE ==

1 test failed:
    test_abc

Total duration: 111 ms
Total tests: run=72 failures=12
Total test files: run=1/1 failed=1
Result: FAILURE
test test_abc failed
builder: pypy-c-jit-linux-x86-64 build #11852+
test: lib-python/3/test/test_abc.py::unmodified