cpython/Lib/email/test
R. David Murray 51f1204590 Issue 7970: When email.Parser.Parser parses a MIME message of type
message/rfc822 it turns it into an object whose body consists of
a list containing a single Message object.  HeaderParser, on the
other hand, just copies the body as a string.  Generator.flatten
has a special handler for the message mime type that expected the
body to be the one item list.  This fails if the message was parsed
by HeaderParser.  So we now check to see if the body is a string
first, and if so just we just emit it.
2010-02-21 04:23:00 +00:00
..
data Issue 7970: When email.Parser.Parser parses a MIME message of type 2010-02-21 04:23:00 +00:00
__init__.py Big email 3.0 API changes, with updated unit tests and documentation. 2004-10-03 03:16:19 +00:00
test_email.py Issue 7970: When email.Parser.Parser parses a MIME message of type 2010-02-21 04:23:00 +00:00
test_email_codecs.py #2622 Import errors in email.message, from a py2app standalone application. 2009-07-11 14:33:51 +00:00
test_email_codecs_renamed.py fix import 2009-03-30 02:14:21 +00:00
test_email_renamed.py #7092: Silence more py3k warnings. Patch by Florent Xicluna. 2010-02-03 05:37:26 +00:00
test_email_torture.py Add missing import when running these tests standalone. 2010-02-06 23:54:04 +00:00