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

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

== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 03:42:44) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-arm64-arm-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-arm64/pytest/test_python_worker_65619æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2098303265
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 7.16 Run 1 test sequentially in a single process
0:00:00 load avg: 7.16 [1/1] test_coroutines
test_badsyntax_1 (test.test_coroutines.AsyncBadSyntaxTest.test_badsyntax_1) ... ok
test_badsyntax_2 (test.test_coroutines.AsyncBadSyntaxTest.test_badsyntax_2) ... ok
test_badsyntax_3 (test.test_coroutines.AsyncBadSyntaxTest.test_badsyntax_3) ... ok
test_badsyntax_4 (test.test_coroutines.AsyncBadSyntaxTest.test_badsyntax_4) ... ok
test_tp_await_1 (test.test_coroutines.CAPITest.test_tp_await_1) ... skipped 'implementation detail specific to cpython'
test_tp_await_2 (test.test_coroutines.CAPITest.test_tp_await_2) ... skipped 'implementation detail specific to cpython'
test_tp_await_3 (test.test_coroutines.CAPITest.test_tp_await_3) ... skipped 'implementation detail specific to cpython'
test_asyncio_1 (test.test_coroutines.CoroAsyncIOCompatTest.test_asyncio_1) ... ok
test_await_1 (test.test_coroutines.CoroutineTest.test_await_1) ... ok
test_await_10 (test.test_coroutines.CoroutineTest.test_await_10) ... ok
test_await_11 (test.test_coroutines.CoroutineTest.test_await_11) ... ok
test_await_12 (test.test_coroutines.CoroutineTest.test_await_12) ... ok
test_await_13 (test.test_coroutines.CoroutineTest.test_await_13) ... ok
test_await_14 (test.test_coroutines.CoroutineTest.test_await_14) ... ok
test_await_15 (test.test_coroutines.CoroutineTest.test_await_15) ... ok
test_await_16 (test.test_coroutines.CoroutineTest.test_await_16) ... ok
test_await_2 (test.test_coroutines.CoroutineTest.test_await_2) ... ok
test_await_3 (test.test_coroutines.CoroutineTest.test_await_3) ... ok
test_await_4 (test.test_coroutines.CoroutineTest.test_await_4) ... ok
test_await_5 (test.test_coroutines.CoroutineTest.test_await_5) ... ok
test_await_6 (test.test_coroutines.CoroutineTest.test_await_6) ... ok
test_await_7 (test.test_coroutines.CoroutineTest.test_await_7) ... ok
test_await_8 (test.test_coroutines.CoroutineTest.test_await_8) ... ok
test_await_9 (test.test_coroutines.CoroutineTest.test_await_9) ... ok
test_bpo_45813_1 (test.test_coroutines.CoroutineTest.test_bpo_45813_1)
This would crash the interpreter in 3.11a2 ... FAIL
test_bpo_45813_2 (test.test_coroutines.CoroutineTest.test_bpo_45813_2)
This would crash the interpreter in 3.11a2 ... ok
test_comp_1 (test.test_coroutines.CoroutineTest.test_comp_1) ... ok
test_comp_10 (test.test_coroutines.CoroutineTest.test_comp_10) ... ok
test_comp_2 (test.test_coroutines.CoroutineTest.test_comp_2) ... ok
test_comp_3 (test.test_coroutines.CoroutineTest.test_comp_3) ... ok
test_comp_4 (test.test_coroutines.CoroutineTest.test_comp_4) ... ok
test_comp_4_2 (test.test_coroutines.CoroutineTest.test_comp_4_2) ... ok
test_comp_5 (test.test_coroutines.CoroutineTest.test_comp_5) ... ok
test_comp_6 (test.test_coroutines.CoroutineTest.test_comp_6) ... ok
test_comp_7 (test.test_coroutines.CoroutineTest.test_comp_7) ... ok
test_comp_8 (test.test_coroutines.CoroutineTest.test_comp_8) ... ok
test_comp_9 (test.test_coroutines.CoroutineTest.test_comp_9) ... ok
test_copy (test.test_coroutines.CoroutineTest.test_copy) ... ok
test_coro_wrapper_send_stop_iterator (test.test_coroutines.CoroutineTest.test_coro_wrapper_send_stop_iterator) ... ok
test_coro_wrapper_send_tuple (test.test_coroutines.CoroutineTest.test_coro_wrapper_send_tuple) ... ok
test_corotype_1 (test.test_coroutines.CoroutineTest.test_corotype_1) ... FAIL
test_cr_await (test.test_coroutines.CoroutineTest.test_cr_await) ... ok
test_cr_frame_after_close (test.test_coroutines.CoroutineTest.test_cr_frame_after_close) ... ok
test_fatal_coro_warning (test.test_coroutines.CoroutineTest.test_fatal_coro_warning) ... ok
test_for_1 (test.test_coroutines.CoroutineTest.test_for_1) ... ok
test_for_11 (test.test_coroutines.CoroutineTest.test_for_11) ... ok
test_for_2 (test.test_coroutines.CoroutineTest.test_for_2) ... ERROR
test_for_3 (test.test_coroutines.CoroutineTest.test_for_3) ... ERROR
test_for_4 (test.test_coroutines.CoroutineTest.test_for_4) ... ERROR
test_for_6 (test.test_coroutines.CoroutineTest.test_for_6) ... ERROR
test_for_7 (test.test_coroutines.CoroutineTest.test_for_7) ... ok
test_for_8 (test.test_coroutines.CoroutineTest.test_for_8) ... ok
test_for_assign_raising_stop_async_iteration (test.test_coroutines.CoroutineTest.test_for_assign_raising_stop_async_iteration) ... ok
test_for_assign_raising_stop_async_iteration_2 (test.test_coroutines.CoroutineTest.test_for_assign_raising_stop_async_iteration_2) ... ok
test_for_stop_iteration (test.test_coroutines.CoroutineTest.test_for_stop_iteration) ... ok
test_for_tuple (test.test_coroutines.CoroutineTest.test_for_tuple) ... ok
test_func_1 (test.test_coroutines.CoroutineTest.test_func_1) ... ok
test_func_10 (test.test_coroutines.CoroutineTest.test_func_10) ... ok
test_func_11 (test.test_coroutines.CoroutineTest.test_func_11) ... ok
test_func_12 (test.test_coroutines.CoroutineTest.test_func_12) ... ok
test_func_13 (test.test_coroutines.CoroutineTest.test_func_13) ... ok
test_func_14 (test.test_coroutines.CoroutineTest.test_func_14) ... ok
test_func_15 (test.test_coroutines.CoroutineTest.test_func_15) ... ok
test_func_16 (test.test_coroutines.CoroutineTest.test_func_16) ... ok
test_func_17 (test.test_coroutines.CoroutineTest.test_func_17) ... ok
test_func_18 (test.test_coroutines.CoroutineTest.test_func_18) ... ok
test_func_19 (test.test_coroutines.CoroutineTest.test_func_19) ... ok
test_func_2 (test.test_coroutines.CoroutineTest.test_func_2) ... ok
test_func_3 (test.test_coroutines.CoroutineTest.test_func_3) ... ok
test_func_4 (test.test_coroutines.CoroutineTest.test_func_4) ... ok
test_func_5 (test.test_coroutines.CoroutineTest.test_func_5) ... ok
test_func_6 (test.test_coroutines.CoroutineTest.test_func_6) ... ok
test_func_7 (test.test_coroutines.CoroutineTest.test_func_7) ... ok
test_func_8 (test.test_coroutines.CoroutineTest.test_func_8) ... ok
test_func_9 (test.test_coroutines.CoroutineTest.test_func_9) ... ok
test_gen_1 (test.test_coroutines.CoroutineTest.test_gen_1) ... ok
test_nested_comp (test.test_coroutines.CoroutineTest.test_nested_comp) ... ok
test_pickle (test.test_coroutines.CoroutineTest.test_pickle) ... ok
test_stack_in_coroutine_throw (test.test_coroutines.CoroutineTest.test_stack_in_coroutine_throw) ... ok
test_with_1 (test.test_coroutines.CoroutineTest.test_with_1) ... ok
test_with_10 (test.test_coroutines.CoroutineTest.test_with_10) ... ok
test_with_11 (test.test_coroutines.CoroutineTest.test_with_11) ... ok
test_with_12 (test.test_coroutines.CoroutineTest.test_with_12) ... ok
test_with_13 (test.test_coroutines.CoroutineTest.test_with_13) ... ok
test_with_2 (test.test_coroutines.CoroutineTest.test_with_2) ... ok
test_with_3 (test.test_coroutines.CoroutineTest.test_with_3) ... ok
test_with_4 (test.test_coroutines.CoroutineTest.test_with_4) ... ok
test_with_5 (test.test_coroutines.CoroutineTest.test_with_5) ... ok
test_with_6 (test.test_coroutines.CoroutineTest.test_with_6) ... ok
test_with_7 (test.test_coroutines.CoroutineTest.test_with_7) ... ok
test_with_8 (test.test_coroutines.CoroutineTest.test_with_8) ... ok
test_with_9 (test.test_coroutines.CoroutineTest.test_with_9) ... ok
test_origin_tracking (test.test_coroutines.OriginTrackingTest.test_origin_tracking) ... ok
test_origin_tracking_warning (test.test_coroutines.OriginTrackingTest.test_origin_tracking_warning) ... ok
test_unawaited_warning_when_module_broken (test.test_coroutines.OriginTrackingTest.test_unawaited_warning_when_module_broken) ... ERROR
test_oneline_defs (test.test_coroutines.TokenizerRegrTest.test_oneline_defs) ... ok
test_unawaited_warning_during_shutdown (test.test_coroutines.UnawaitedWarningDuringShutdownTest.test_unawaited_warning_during_shutdown) ... ok

======================================================================
ERROR: test_for_2 (test.test_coroutines.CoroutineTest.test_for_2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_coroutines.py", line 1586, in test_for_2
    refs_before = sys.getrefcount(tup)
                      ^^^^^^^^^^^
AttributeError: module 'sys' has no attribute 'getrefcount'

======================================================================
ERROR: test_for_3 (test.test_coroutines.CoroutineTest.test_for_3)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_coroutines.py", line 1605, in test_for_3
    refs_before = sys.getrefcount(aiter)
                      ^^^^^^^^^^^
AttributeError: module 'sys' has no attribute 'getrefcount'

======================================================================
ERROR: test_for_4 (test.test_coroutines.CoroutineTest.test_for_4)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_coroutines.py", line 1628, in test_for_4
    refs_before = sys.getrefcount(aiter)
                      ^^^^^^^^^^^
AttributeError: module 'sys' has no attribute 'getrefcount'

======================================================================
ERROR: test_for_6 (test.test_coroutines.CoroutineTest.test_for_6)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_coroutines.py", line 1671, in test_for_6
    mrefs_before = sys.getrefcount(manager)
                       ^^^^^^^^^^^
AttributeError: module 'sys' has no attribute 'getrefcount'

======================================================================
ERROR: test_unawaited_warning_when_module_broken (test.test_coroutines.OriginTrackingTest.test_unawaited_warning_when_module_broken)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_coroutines.py", line 2413, in test_unawaited_warning_when_module_broken
    self.assertEqual(repr(cm.unraisable.object), coro_repr)
                                        ^^^^^^
AttributeError: 'NoneType' object has no attribute 'object'

======================================================================
FAIL: test_bpo_45813_1 (test.test_coroutines.CoroutineTest.test_bpo_45813_1)
This would crash the interpreter in 3.11a2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_coroutines.py", line 2207, in test_bpo_45813_1
    with self.assertWarns(RuntimeWarning):
AssertionError: RuntimeWarning not triggered

======================================================================
FAIL: test_corotype_1 (test.test_coroutines.CoroutineTest.test_corotype_1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_coroutines.py", line 957, in test_corotype_1
    self.assertIn('into coroutine', ct.send.__doc__)
         ^^^^^^^^
AssertionError: 'into coroutine' not found in "send(arg) -> send 'arg' into generator/coroutine,\nreturn next yielded value or raise StopIteration."

----------------------------------------------------------------------
Ran 97 tests in 0.362s

FAILED (failures=2, errors=5, skipped=3)
0:00:00 load avg: 6.99 [1/1/1] test_coroutines failed (5 errors, 2 failures)

== Tests result: FAILURE ==

1 test failed:
    test_coroutines

Total duration: 456 ms
Total tests: run=97 failures=2 skipped=3
Total test files: run=1/1 failed=1
Result: FAILURE
test test_coroutines failed
builder: pypy-c-jit-macos-arm64 build #1309+
test: lib-python/3/test/test_coroutines.py::unmodified