From: Nikita Sobolev Date: Thu, 29 Dec 2022 15:13:38 +0000 (+0300) Subject: gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` (#100601) X-Git-Tag: v3.12.0a4~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76856366d3ece34c3e738f7167329e97bbf52b34;p=thirdparty%2FPython%2Fcpython.git gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` (#100601) --- diff --git a/Lib/test/test_coroutines.py b/Lib/test/test_coroutines.py index 43a3ff0536fe..6ab19efcc588 100644 --- a/Lib/test/test_coroutines.py +++ b/Lib/test/test_coroutines.py @@ -2214,6 +2214,7 @@ class CoroutineTest(unittest.TestCase): 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