summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ftplib.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-11-08 15:48:58 (GMT)
committerGitHub <noreply@github.com>2022-11-08 15:48:58 (GMT)
commite56e33d271e511e7c2324640d7f49d39b49830d8 (patch)
treea0cb27a36345f38be784d023a75cb3dfaf56daa0 /Lib/test/test_ftplib.py
parentc43714fbcdb9bb0927872d6ebf5697edd2e2a1e9 (diff)
downloadcpython-e56e33d271e511e7c2324640d7f49d39b49830d8.zip
cpython-e56e33d271e511e7c2324640d7f49d39b49830d8.tar.gz
cpython-e56e33d271e511e7c2324640d7f49d39b49830d8.tar.bz2
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_ftplib.py')
-rw-r--r--Lib/test/test_ftplib.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index 218fecf..544228e 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -21,13 +21,11 @@ from test import support
from test.support import threading_helper
from test.support import socket_helper
from test.support import warnings_helper
+from test.support import asynchat
+from test.support import asyncore
from test.support.socket_helper import HOST, HOSTv6
-asynchat = warnings_helper.import_deprecated('asynchat')
-asyncore = warnings_helper.import_deprecated('asyncore')
-
-
support.requires_working_socket(module=True)
TIMEOUT = support.LOOPBACK_TIMEOUT