]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8470)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Jul 2018 14:02:22 +0000 (07:02 -0700)
committerR. David Murray <rdmurray@bitdance.com>
Thu, 26 Jul 2018 14:02:22 +0000 (10:02 -0400)
commitcecbe0ade87360cd37cc1389fe33dd92f2cf52ba
tree1d771fad55ec9fbe58255809460cb325c8cad8a7
parentcfadd1c2421e13d76d588982147d4fbdc71d5527
bpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8470)

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]