New submission from Bar Harel <bzvi7...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44911>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to