aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_buffered_proto.py
diff options
context:
space:
mode:
authorKumar Aditya <kumaraditya@python.org>2024-12-18 11:35:29 +0530
committerGitHub <noreply@github.com>2024-12-18 11:35:29 +0530
commit5892853fb71acd6530e1e241a9a4bcf71a61fb21 (patch)
treebd17e169dbcf0d0e290b5208886da38baae675b1 /Lib/test/test_asyncio/test_buffered_proto.py
parent559b0e7013f9cbf42a12fe9c86048d5cbb2f6f22 (diff)
downloadcpython-5892853fb71acd6530e1e241a9a4bcf71a61fb21.tar.gz
cpython-5892853fb71acd6530e1e241a9a4bcf71a61fb21.zip
gh-127949: deprecate `asyncio.set_event_loop_policy` (#128024)
First step towards deprecating the asyncio policy system. This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
Diffstat (limited to 'Lib/test/test_asyncio/test_buffered_proto.py')
-rw-r--r--Lib/test/test_asyncio/test_buffered_proto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_buffered_proto.py b/Lib/test/test_asyncio/test_buffered_proto.py
index f24e363ebfc..9c386dd2e63 100644
--- a/Lib/test/test_asyncio/test_buffered_proto.py
+++ b/Lib/test/test_asyncio/test_buffered_proto.py
@@ -5,7 +5,7 @@ from test.test_asyncio import functional as func_tests
def tearDownModule():
- asyncio.set_event_loop_policy(None)
+ asyncio._set_event_loop_policy(None)
class ReceiveStuffProto(asyncio.BufferedProtocol):