"Port" the fix for issue 1974 from the trunk (2.7). Because Python 3.x does things much better, less changes are necessary.

This also shoves test_email_codecs_rename.py onto test_email_codecs.py even though the test needs to be ported to Python 3.
This commit is contained in:
Barry Warsaw 2009-03-30 23:12:30 +00:00
parent 35d1f00902
commit 70d61cedf7
5 changed files with 7 additions and 84 deletions

View file

@ -6,9 +6,9 @@ import unittest
from test.support import run_unittest
from email.test.test_email import TestEmailBase
from email.Charset import Charset
from email.Header import Header, decode_header
from email.Message import Message
from email.charset import Charset
from email.header import Header, decode_header
from email.message import Message
# We're compatible with Python 2.3, but it doesn't have the built-in Asian
# codecs, so we have to skip all these tests.