mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-130322: drop deprecation of asyncio.set_event_loop
(#132349)
This commit is contained in:
parent
e6ef47ac22
commit
05d27a84f4
16 changed files with 46 additions and 64 deletions
|
@ -476,7 +476,7 @@ class TestAsyncCase(unittest.TestCase):
|
|||
def test_setup_get_event_loop(self):
|
||||
# See https://github.com/python/cpython/issues/95736
|
||||
# Make sure the default event loop is not used
|
||||
asyncio._set_event_loop(None)
|
||||
asyncio.set_event_loop(None)
|
||||
|
||||
class TestCase1(unittest.IsolatedAsyncioTestCase):
|
||||
def setUp(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue