Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
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 ourterms of service andprivacy 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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…_contextlib_asyncIt now fails if the original bug is not fixed, and no longer produceResourceWarning with fixed code.
After6780d63 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 commit5aa62a8)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-110610 is a backport of this pull request to the3.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 commit5aa62a8)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-110611 is a backport of this pull request to the3.11 branch. |
…_contextlib_async (python#110500)It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code.
Uh oh!
There was an error while loading.Please reload this page.
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