8000 GH-120804: Remove `get_child_watcher` and `set_child_watcher` from asyncio by kumaraditya303 · Pull Request #120818 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-120804: Remove get_child_watcher and set_child_watcher from asyncio #120818

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

Merged
merged 3 commits into from
Jun 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests on windows
  • Loading branch information
kumaraditya303 committed Jun 21, 2024
commit 01aed3190d56e52d8a023eab1b8fc0c90901e4cc
6 changes: 2 additions & 4 deletions Lib/test/test_asyncio/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,10 +550,8 @@ def close_loop(loop):
policy = support.maybe_get_event_loop_policy()
if policy is not None:
try:
with warnings.catch_warnings():
warnings.simplefilter('ignore', DeprecationWarning)
watcher = policy._watcher
except NotImplementedError:
watcher = policy._watcher
except AttributeError:
# watcher is not implemented by EventLoopPolicy, e.g. Windows
pass
else:
Expand Down
Loading
0