bpo-37228: Fix warnings in test_asyncio.test_base_events#17577
bpo-37228: Fix warnings in test_asyncio.test_base_events#17577ambv merged 1 commit intopython:masterfrom
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
ResourceWarningand twoDeprecationWarnings 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