diff options
author | Barry Warsaw <barry@python.org> | 2009-03-30 23:12:30 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2009-03-30 23:12:30 (GMT) |
commit | 70d61cedf7b2efe358d11a6a14fe654f21f2598c (patch) | |
tree | c85e376ced8722559702621905cfdf2fd6f4f5e1 /Lib/email/test/test_email_codecs.py | |
parent | 35d1f00902d6665f7f833bda5fad2fb6c0efce95 (diff) | |
download | cpython-70d61cedf7b2efe358d11a6a14fe654f21f2598c.zip cpython-70d61cedf7b2efe358d11a6a14fe654f21f2598c.tar.gz cpython-70d61cedf7b2efe358d11a6a14fe654f21f2598c.tar.bz2 |
"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.
Diffstat (limited to 'Lib/email/test/test_email_codecs.py')
-rw-r--r-- | Lib/email/test/test_email_codecs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/email/test/test_email_codecs.py b/Lib/email/test/test_email_codecs.py index 8accabe..acc19c3 100644 --- a/Lib/email/test/test_email_codecs.py +++ b/Lib/email/test/test_email_codecs.py @@ -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. |