diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-12-29 15:13:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-29 15:13:38 (GMT) |
commit | 76856366d3ece34c3e738f7167329e97bbf52b34 (patch) | |
tree | 36617820ca451a9e4e45278362b14a935bf49994 | |
parent | f10f503b24a35a43910a632ee50c7568bedd6664 (diff) | |
download | cpython-76856366d3ece34c3e738f7167329e97bbf52b34.zip cpython-76856366d3ece34c3e738f7167329e97bbf52b34.tar.gz cpython-76856366d3ece34c3e738f7167329e97bbf52b34.tar.bz2 |
gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` (#100601)
-rw-r--r-- | Lib/test/test_coroutines.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |