]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) (GH-28522)
authorŁukasz Langa <lukasz@langa.pl>
Wed, 22 Sep 2021 16:48:17 +0000 (18:48 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 16:48:17 +0000 (18:48 +0200)
commite06b0fddf69b933fe82f60d78a0f6248ca36a0a3
tree584da3a296d3661e072e1ced77893ac9d56264f0
parent5482db5800d195d43d1e13e8c05e21c708dcfa50
[3.9] bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) (GH-28522)

It runs now asynchronous methods and callbacks.

If it fails, doCleanups() can be called for cleaning up..
(cherry picked from commit ecb6922ff2d56476a6cfb0941ae55aca5e7fae3d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/unittest/async_case.py
Lib/unittest/case.py
Lib/unittest/test/test_async_case.py
Misc/NEWS.d/next/Library/2021-09-18-16-56-33.bpo-45238.Hng_9V.rst [new file with mode: 0644]