]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8471)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Jul 2018 13:58:16 +0000 (06:58 -0700)
committerR. David Murray <rdmurray@bitdance.com>
Thu, 26 Jul 2018 13:58:16 +0000 (09:58 -0400)
commit89352b08aad447d046551fa0cd374becd7941c91
treebbb7d345abf9da6b5859c785c2030ed1bddb7dff
parent973649342cee3869409f341ff0f0e3d2b1547c2a
bpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8471)

Enable and fix SMTPUTF8SimTests in test_smtplib.

The tests for SMTPUTF8SimTests in test_smtplib.py were not actually
being run because test_smtplib was still using the 'test_main' pattern,
and the class was never added to test_main.

Additionally, one of the tests needed to be moved to the non-UTF8 server
class because it relies on the server not being UTF-8 compatible (and it
had a bug in in).
(cherry picked from commit 48ed88a93bb0bbeaae9a4cfaa533e4edf13bcb51)

Co-authored-by: chason <chason@gmail.com>
Lib/test/test_smtplib.py
Misc/NEWS.d/next/Tests/2018-01-25-18-10-47.bpo-32663.IKDsqu.rst [new file with mode: 0644]