summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_coroutines.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_coroutines.py')
-rw-r--r--Lib/test/test_coroutines.py1
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