diff --git a/Misc/NEWS.d/next/Library/2024-02-28-20-43-51.gh-issue-115957.qtvADY.rst b/Misc/NEWS.d/next/Library/2024-02-28-20-43-51.gh-issue-115957.qtvADY.rst new file mode 100644 index 000000000000000..3e7f0fdc4a72967 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-02-28-20-43-51.gh-issue-115957.qtvADY.rst @@ -0,0 +1 @@ +When ``asyncio.TaskGroup.create_task`` is called on an inactive ``asyncio.TaskGroup``, the given coroutine will be closed (which prevents a ``RuntimeWarning``).