Visitar URL original
bpo-44469: Fix tests for "async with" with bad object by serhiy-storchaka · Pull Request #26817 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223175903/https://github.com/python/cpython/pull/26817
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-44469: Fix tests for "async with" with bad object #26817

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 21, 2021 •

Test for execution of the body was null. It would pass
even if the code which should be skipped was executed.

https://bugs.python.org/issue44469

Test for execution of the body was null. It would pass
even if the code which should be skipped was executed.
@miss-islington
Copy link
Contributor

miss-islington commented Jun 21, 2021

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the test_coroutines-test_with branch Jun 21, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 21, 2021
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 5d2b3a0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

bedevere-bot commented Jun 21, 2021

GH-26818 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 21, 2021
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 5d2b3a0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

bedevere-bot commented Jun 21, 2021

GH-26819 is a backport of this pull request to the 3.9 branch.

miss-islington added a commit that referenced this pull request Jun 21, 2021
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 5d2b3a0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull request Jun 21, 2021
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 5d2b3a0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants