#16914: fix test errors under -W error::BytesWarning.

There are doubtless other debug messages in smtplib that would trigger an
error if they were tested, but this fixes the things we do now test,
which is good enough for now.
1 file changed