[New-bugs-announce] [issue44911] Leaked tasks cause IsolatedAsyncioTestCase to throw an exception
Bar Harel
report at bugs.python.org
Fri Aug 13 20:36:43 EDT 2021
New submission from Bar Harel <bzvi7919 at gmail.com>:
Writing a test that leaks a running asyncio task will cause IsolatedAsyncioTestCase to crash while attempting to cancel.
Seems like the loop argument wasn't removed from the usage of asyncio.gather() in IsolatedAsyncioTestCase._tearDownAsyncioLoop
Pushing a fix as we speak
----------
components: Library (Lib)
messages: 399577
nosy: bar.harel
priority: normal
severity: normal
status: open
title: Leaked tasks cause IsolatedAsyncioTestCase to throw an exception
type: behavior
versions: Python 3.10, Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44911>
_______________________________________
More information about the New-bugs-announce
mailing list