From 57e69663d34a3bb1f9a06d356dd328f7f4a712ca Mon Sep 17 00:00:00 2001 From: sobolevn Date: Thu, 29 Dec 2022 10:30:55 +0300 Subject: [PATCH] gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` --- 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 43a3ff0536fe28..6ab19efcc588b8 100644 --- a/Lib/test/test_coroutines.py +++ b/Lib/test/test_coroutines.py @@ -2214,6 +2214,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