gh-130322: drop deprecation of asyncio.set_event_loop (#132349)

This commit is contained in:
Kumar Aditya 2025-04-12 12:03:52 +05:30 committed by GitHub
parent e6ef47ac22
commit 05d27a84f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 46 additions and 64 deletions

View file

@ -624,7 +624,7 @@ class AsyncGenAsyncioTest(unittest.TestCase):
def setUp(self):
self.loop = asyncio.new_event_loop()
asyncio._set_event_loop(None)
asyncio.set_event_loop(None)
def tearDown(self):
self.loop.close()