From dd520e7bae18549971b900b6dadc69bfc35d4b3f Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 29 Dec 2022 07:41:34 -0800 Subject: [PATCH] gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` (GH-100601) (cherry picked from commit 76856366d3ece34c3e738f7167329e97bbf52b34) Co-authored-by: Nikita Sobolev --- Lib/test/test_coroutines.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_coroutines.py b/Lib/test/test_coroutines.py index 10f1a9efbcbd..93ddbf6e8976 100644 --- a/Lib/test/test_coroutines.py +++ b/Lib/test/test_coroutines.py @@ -2207,6 +2207,7 @@ async def f(): gen = f() with self.assertWarns(RuntimeWarning): gen.cr_frame.clear() + gen.close() def test_stack_in_coroutine_throw(self): # Regression test for https://github.com/python/cpython/issues/93592