diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-11-08 18:48:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 16:48:58 +0100 |
commit | e56e33d271e511e7c2324640d7f49d39b49830d8 (patch) | |
tree | a0cb27a36345f38be784d023a75cb3dfaf56daa0 /Lib/test/test_logging.py | |
parent | c43714fbcdb9bb0927872d6ebf5697edd2e2a1e9 (diff) | |
download | cpython-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_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index d70bfd6b09..072056d372 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -47,6 +47,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 from test.support.logging_helper import TestHandler import textwrap import threading @@ -64,9 +65,6 @@ from socketserver import (ThreadingUDPServer, DatagramRequestHandler, with warnings.catch_warnings(): from . import smtpd -asyncore = warnings_helper.import_deprecated('asyncore') - - try: import win32evtlog, win32evtlogutil, pywintypes except ImportError: |