mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
gh-100600: Fix "coroutine was never awaited" warning in test_coroutines
(GH-100601)
(cherry picked from commit 76856366d3
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
parent
e180dff4c7
commit
dd520e7bae
1 changed files with 1 additions and 0 deletions
|
@ -2207,6 +2207,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue