summaryrefslogtreecommitdiffstats
path: root/Lib/test/smtpd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/smtpd.py')
-rwxr-xr-xLib/test/smtpd.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/smtpd.py b/Lib/test/smtpd.py
index f9d4b04..6052232 100755
--- a/Lib/test/smtpd.py
+++ b/Lib/test/smtpd.py
@@ -77,7 +77,7 @@ import getopt
import time
import socket
import collections
-from test.support.import_helper import import_module
+from test.support import asyncore, asynchat
from warnings import warn
from email._header_value_parser import get_addr_spec, get_angle_addr
@@ -85,9 +85,6 @@ __all__ = [
"SMTPChannel", "SMTPServer", "DebuggingServer", "PureProxy",
]
-asyncore = import_module('asyncore', deprecated=True)
-asynchat = import_module('asynchat', deprecated=True)
-
program = sys.argv[0]
__version__ = 'Python SMTP proxy version 0.3'