INADA Naoki added the comment:

Maybe, `socket.getfqdn()` returns non-ASCII string in your environment.
smtpd.py has `-u` option which enables utf-8 support.

smtpd.SMTPServer has enable_SMTPUTF8 option.
test_logging.TestSMTPServer should enable this option.

Could you test adding `enable_SMTPUTF8=True` kwarg here?
https://github.com/python/cpython/blob/master/Lib/test/test_logging.py#L682-L683

----------
nosy: +naoki

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27424>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to