diff options
author | Kumar Aditya <kumaraditya@python.org> | 2025-04-12 06:33:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-12 06:33:52 (GMT) |
commit | 05d27a84f4a85d777239e95e6d9b6dae8b32c538 (patch) | |
tree | 7f60ed0d52046320498cfef2bfb5ef2b9fd382c0 /Lib/test/test_unittest/test_async_case.py | |
parent | e6ef47ac229b5c4a62b9c907e4232e350db77ce3 (diff) | |
download | cpython-05d27a84f4a85d777239e95e6d9b6dae8b32c538.zip cpython-05d27a84f4a85d777239e95e6d9b6dae8b32c538.tar.gz cpython-05d27a84f4a85d777239e95e6d9b6dae8b32c538.tar.bz2 |
gh-130322: drop deprecation of `asyncio.set_event_loop` (#132349)
Diffstat (limited to 'Lib/test/test_unittest/test_async_case.py')
-rw-r--r-- | Lib/test/test_unittest/test_async_case.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unittest/test_async_case.py b/Lib/test/test_unittest/test_async_case.py index fc996b4..993e6bf 100644 --- a/Lib/test/test_unittest/test_async_case.py +++ b/Lib/test/test_unittest/test_async_case.py @@ -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): |