summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unittest/test_async_case.py
diff options
context:
space:
mode:
authorKumar Aditya <kumaraditya@python.org>2025-04-12 06:33:52 (GMT)
committerGitHub <noreply@github.com>2025-04-12 06:33:52 (GMT)
commit05d27a84f4a85d777239e95e6d9b6dae8b32c538 (patch)
tree7f60ed0d52046320498cfef2bfb5ef2b9fd382c0 /Lib/test/test_unittest/test_async_case.py
parente6ef47ac229b5c4a62b9c907e4232e350db77ce3 (diff)
downloadcpython-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.py2
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):