-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-37228: Fix warnings in test_asyncio.test_base_events #17577
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-37228: Fix warnings in test_asyncio.test_base_events #17577
Conversation
Co-authored-by: tirkarthi
Wasn't the point of the security fix to not use |
The primary point of the security fix was to specifically remove usage of I accidentally introduced a couple deprecation warnings that were raised from previous tests that still had It wouldn't be the end of the world if this didn't make it into the next releases, but it would definitely be preferable to not have additional warnings lingering in the regression tests. Especially in this case where the fix is quite simple. |
@ambv: Please replace |
Thanks! ✨ 🍰 ✨ |
GH-17579 is a backport of this pull request to the 3.8 branch. |
Co-authored-by: tirkarthi (cherry picked from commit 1988344) Co-authored-by: Kyle Stanley <[email protected]>
GH-17580 is a backport of this pull request to the 3.7 branch. |
GH-17581 is a backport of this pull request to the 3.6 branch. |
Co-authored-by: tirkarthi (cherry picked from commit 1988344) Co-authored-by: Kyle Stanley <[email protected]>
Co-authored-by: tirkarthi (cherry picked from commit 1988344) Co-authored-by: Kyle Stanley <[email protected]>
Thanks @aeros :) |
Co-authored-by: tirkarthi (cherry picked from commit 1988344) Co-authored-by: Kyle Stanley <[email protected]>
Co-authored-by: tirkarthi (cherry picked from commit 1988344) Co-authored-by: Kyle Stanley <[email protected]>
Co-authored-by: tirkarthi (cherry picked from commit 1988344) Co-authored-by: Kyle Stanley <[email protected]>
…nGH-17580) Co-authored-by: tirkarthi (cherry picked from commit 1988344) Co-authored-by: Kyle Stanley <[email protected]>
Co-authored-by: tirkarthi
Co-authored-by: @tirkarthi
The security patch #17311 (which was backported to 3.8, 3.7, and 3.6) added a few subtle warnings, including a
ResourceWarning
and twoDeprecationWarning
s in test_asyncio.test_base_events. @tirkarthi discovered the warnings, and proposed a fix for theResourceWarning
. See the bpo issue for more details.https://bugs.python.org/issue37228