Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move smtpd to its only user for further porting to asyncio
  • Loading branch information
arhadthedev committed Jun 4, 2022
commit 18a5615de5b0dd3bc037336ed085c21df1ca3656
File renamed without changes.
4 changes: 3 additions & 1 deletion Lib/test/test_smtplib.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@
from test.support import warnings_helper
from unittest.mock import Mock

from warnings import catch_warnings
with catch_warnings():
from . import smtpd

asyncore = warnings_helper.import_deprecated('asyncore')
smtpd = warnings_helper.import_deprecated('_smtpd')


support.requires_working_socket(module=True)
Expand Down