diff options
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-07-11 14:33:51 (GMT) |
|---|---|---|
| committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-07-11 14:33:51 (GMT) |
| commit | 74b8d333b708e2f029f60a06bbb5abb31199426f (patch) | |
| tree | 395efe22fbfc0239eb794063d4add723a714c5cf /Lib/email/test | |
| parent | c91cbb948a223f0921300dc7b4f4b762b60420f3 (diff) | |
| download | cpython-74b8d333b708e2f029f60a06bbb5abb31199426f.zip cpython-74b8d333b708e2f029f60a06bbb5abb31199426f.tar.gz cpython-74b8d333b708e2f029f60a06bbb5abb31199426f.tar.bz2 | |
#2622 Import errors in email.message, from a py2app standalone application.
Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
Diffstat (limited to 'Lib/email/test')
| -rw-r--r-- | Lib/email/test/test_email_codecs.py | 6 | ||||
| -rw-r--r-- | Lib/email/test/test_email_torture.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/email/test/test_email_codecs.py b/Lib/email/test/test_email_codecs.py index e85d754..532750a 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.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. diff --git a/Lib/email/test/test_email_torture.py b/Lib/email/test/test_email_torture.py index d708b74..3ec4c66 100644 --- a/Lib/email/test/test_email_torture.py +++ b/Lib/email/test/test_email_torture.py @@ -17,7 +17,7 @@ from test.test_support import TestSkipped import email from email import __file__ as testfile -from email.Iterators import _structure +from email.iterators import _structure def openfile(filename): from os.path import join, dirname, abspath |
