summaryrefslogtreecommitdiff
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-11-08 18:48:58 +0300
committerGitHub <noreply@github.com>2022-11-08 16:48:58 +0100
commite56e33d271e511e7c2324640d7f49d39b49830d8 (patch)
treea0cb27a36345f38be784d023a75cb3dfaf56daa0 /Lib/test/test_ssl.py
parentc43714fbcdb9bb0927872d6ebf5697edd2e2a1e9 (diff)
downloadcpython-git-e56e33d271e511e7c2324640d7f49d39b49830d8.tar.gz
gh-72719: Remove asyncore and asynchat modules (#96580)
Remove modules asyncore and asynchat, which were deprecated by PEP 594. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 5007e08f32..e926fc5e88 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -9,6 +9,7 @@ from test.support import os_helper
from test.support import socket_helper
from test.support import threading_helper
from test.support import warnings_helper
+from test.support import asyncore
import socket
import select
import time
@@ -30,9 +31,6 @@ except ImportError:
ctypes = None
-asyncore = warnings_helper.import_deprecated('asyncore')
-
-
ssl = import_helper.import_module("ssl")
import _ssl