Skip to content

RuntimeWarning in test_coroutines.CoroutineTest.test_await_17 #131707

Closed

Description

@graingert

Bug report

Bug description:

test_await_17 (test.test_coroutines.CoroutineTest.test_await_17) ... Warning -- Unraisable exception
Exception ignored while finalizing coroutine <coroutine object CoroutineTest.test_await_17.<locals>.A.__anext__ at 0x10205e970>:
Traceback (most recent call last):
  File "/Users/admin/actions-runner/_work/cpython/cpython/Lib/warnings.py", line 700, in _warn_unawaited_coroutine
    warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
RuntimeWarning: coroutine 'CoroutineTest.test_await_17.<locals>.A.__anext__' was never awaited
ok

CPython versions tested on:

3.14, CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

  1. graingert commented on Mar 25, 2025

    @graingert
    ContributorAuthor

    caused by #131671

  2. changed the title [-]ResourceWarning in test_coroutines.CoroutineTest.test_await_17[/-] [+]RuntimeWarning in test_coroutines.CoroutineTest.test_await_17[/+] on Mar 25, 2025
  3. added 2 commits that reference this issue on Mar 25, 2025
  4. added a commit that references this issue on Mar 25, 2025
  5. added a commit that references this issue on Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions