diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-03-15 16:20:02 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-03-15 16:20:02 (GMT) |
commit | 56a9d7e3daff45f5fef206ea42398b4a0505fb47 (patch) | |
tree | 42f16713454d229e7b90122bb350eae90ca4550b /Lib/test/test_email.py | |
parent | de3909da6b8d09b7bcb142994ebd6daba61a23d3 (diff) | |
download | cpython-56a9d7e3daff45f5fef206ea42398b4a0505fb47.zip cpython-56a9d7e3daff45f5fef206ea42398b4a0505fb47.tar.gz cpython-56a9d7e3daff45f5fef206ea42398b4a0505fb47.tar.bz2 |
#11554: reactivate test_email_codecs, and make it pass.
The fix is to charset.py, which was not doing the encoding to the
correct output character set when doing a body_encode for either
the shift-jis or euc-jp charsets. There's also a fix for handling
a bytes input in encoders.py.
Patch by Michael Henry, comment changes by me.
Diffstat (limited to 'Lib/test/test_email.py')
-rw-r--r-- | Lib/test/test_email.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_email.py b/Lib/test/test_email.py index f0a18e7..5eebba5 100644 --- a/Lib/test/test_email.py +++ b/Lib/test/test_email.py @@ -3,10 +3,12 @@ # The specific tests now live in Lib/email/test from email.test.test_email import suite +from email.test.test_email_codecs import suite as codecs_suite from test import support def test_main(): support.run_unittest(suite()) + support.run_unittest(codecs_suite()) if __name__ == '__main__': test_main() |