mirror of https://github.com/python/cpython
gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` (#100601)
This commit is contained in:
parent
f10f503b24
commit
76856366d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue