[3.14] gh-134657: Remove newly added private names from asyncio.__all__ (GH-134665) (#136455)

gh-134657: Remove newly added private names from asyncio.__all__ (GH-134665)
(cherry picked from commit 797abd1f7f)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-07-09 10:34:19 +02:00 committed by GitHub
parent a9d2f08b57
commit c29fce05f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 105 additions and 90 deletions

View file

@ -512,7 +512,7 @@ def setUpClass(cls):
# tests left a policy in place, just in case.
policy = support.maybe_get_event_loop_policy()
assert policy is None, policy
cls.addClassCleanup(lambda: asyncio._set_event_loop_policy(None))
cls.addClassCleanup(lambda: asyncio.events._set_event_loop_policy(None))
def setUp(self):
super().setUp()