Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-37228: Fix warnings in test_asyncio.test_base_events #17577
Conversation
Co-authored-by: tirkarthi
This comment has been minimized.
This comment has been minimized.
Wasn't the point of the security fix to not use |
This comment has been minimized.
This comment has been minimized.
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. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 12, 2019
@ambv: Please replace |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Dec 12, 2019
This comment has been minimized.
This comment has been minimized.
Thanks! |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 12, 2019
GH-17579 is a backport of this pull request to the 3.8 branch. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 12, 2019
GH-17580 is a backport of this pull request to the 3.7 branch. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 12, 2019
GH-17581 is a backport of this pull request to the 3.6 branch. |
This comment has been minimized.
This comment has been minimized.
Thanks @aeros :) |
Fix warnings in test_asyncio.test_base_events (python#17577)
aeros commentedDec 12, 2019
•
edited
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