summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncgen.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2025-07-09 08:34:19 (GMT)
committerGitHub <noreply@github.com>2025-07-09 08:34:19 (GMT)
commitc29fce05f3b4558f2dcd91ccaac5ab646caf6c1c (patch)
tree6f4a5e64975f38f477b0cae85c6ca82a292d1fc1 /Lib/test/test_asyncgen.py
parenta9d2f08b579a400e0f2a337116bb29f476249dff (diff)
downloadcpython-c29fce05f3b4558f2dcd91ccaac5ab646caf6c1c.zip
cpython-c29fce05f3b4558f2dcd91ccaac5ab646caf6c1c.tar.gz
cpython-c29fce05f3b4558f2dcd91ccaac5ab646caf6c1c.tar.bz2
[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 797abd1f7fdeb744bf9f683ef844e7279aad3d72) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Lib/test/test_asyncgen.py')
-rw-r--r--Lib/test/test_asyncgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncgen.py b/Lib/test/test_asyncgen.py
index 2f2865b..fc3bd7d 100644
--- a/Lib/test/test_asyncgen.py
+++ b/Lib/test/test_asyncgen.py
@@ -629,7 +629,7 @@ class AsyncGenAsyncioTest(unittest.TestCase):
def tearDown(self):
self.loop.close()
self.loop = None
- asyncio._set_event_loop_policy(None)
+ asyncio.events._set_event_loop_policy(None)
def check_async_iterator_anext(self, ait_class):
with self.subTest(anext="pure-Python"):