-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-110378: Fix test_async_gen_propagates_generator_exit in test_contextlib_async #110500
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
gh-110378: Fix test_async_gen_propagates_generator_exit in test_contextlib_async #110500
Conversation
…_contextlib_async It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code.
After 6780d63 there are no RuntimeWarnings visible on Ubuntu and macOS so I had to revert that to confirm this PR is indeed solving the core issue. Without the change:
This warning doesn't appear after the change. |
Thanks @serhiy-storchaka for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…_contextlib_async (pythonGH-110500) It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code. (cherry picked from commit 5aa62a8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-110610 is a backport of this pull request to the 3.12 branch. |
…_contextlib_async (pythonGH-110500) It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code. (cherry picked from commit 5aa62a8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-110611 is a backport of this pull request to the 3.11 branch. |
…_contextlib_async (python#110500) It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code.
It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code.
test_contextlib_async
produces severalRuntimeWarning
s #110378