Skip to content

Commit

Permalink
pythongh-100600: Fix "coroutine was never awaited" warning in `test_c…
Browse files Browse the repository at this point in the history
…oroutines` (pythonGH-100601)

(cherry picked from commit 7685636)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
  • Loading branch information
miss-islington and sobolevn authored Dec 29, 2022
1 parent e180dff commit dd520e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_coroutines.py
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,7 @@ async def f():
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
Expand Down

0 comments on commit dd520e7

Please sign in to comment.