]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44469: Fix tests for "async with" with bad object (GH-26817)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 21 Jun 2021 07:54:04 +0000 (00:54 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Jun 2021 07:54:04 +0000 (00:54 -0700)
commit175e264d363164c905b08688bbda751c9ff26342
tree4b3b7a01834b4793921a5d798f5c8aa63b545369
parent533bff4e9fe221a7c9cf12795fd2d002e87bfa6a
bpo-44469: Fix tests for "async with" with bad object (GH-26817)

Test for execution of the body was null. It would pass
even if the code which should be skipped was executed.
(cherry picked from commit 5d2b3a0d688cf8a33db3d266c9e7049c13766a4c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_coroutines.py