diff options
| author | Nikita Sobolev <mail@sobolevn.me> | 2022-11-08 15:48:58 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-08 15:48:58 (GMT) |
| commit | e56e33d271e511e7c2324640d7f49d39b49830d8 (patch) | |
| tree | a0cb27a36345f38be784d023a75cb3dfaf56daa0 /Lib/test/test_smtplib.py | |
| parent | c43714fbcdb9bb0927872d6ebf5697edd2e2a1e9 (diff) | |
| download | cpython-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_smtplib.py')
| -rw-r--r-- | Lib/test/test_smtplib.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index 3210ef2..b6d5b8c 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -21,13 +21,11 @@ from test import support, mock_socket from test.support import hashlib_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 unittest.mock import Mock from . import smtpd -asyncore = warnings_helper.import_deprecated('asyncore') - support.requires_working_socket(module=True) |
