From 76856366d3ece34c3e738f7167329e97bbf52b34 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Thu, 29 Dec 2022 18:13:38 +0300 Subject: gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` (#100601) --- 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 43a3ff0..6ab19ef 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 -- cgit v0.12