mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951)
This reverts commit 9bf2cbc4c4
.
This commit is contained in:
parent
2bf551757e
commit
cf7eaa4617
28 changed files with 3228 additions and 34 deletions
|
@ -18,13 +18,17 @@ except ImportError:
|
|||
|
||||
from unittest import TestCase, skipUnless
|
||||
from test import support
|
||||
from test.support import _asynchat as asynchat
|
||||
from test.support import _asyncore as asyncore
|
||||
from test.support import socket_helper
|
||||
from test.support import threading_helper
|
||||
from test.support import socket_helper
|
||||
from test.support import warnings_helper
|
||||
from test.support.socket_helper import HOST, HOSTv6
|
||||
|
||||
import warnings
|
||||
with warnings.catch_warnings():
|
||||
warnings.simplefilter('ignore', DeprecationWarning)
|
||||
import asyncore
|
||||
import asynchat
|
||||
|
||||
|
||||
TIMEOUT = support.LOOPBACK_TIMEOUT
|
||||
DEFAULT_ENCODING = 'utf-8'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue