cpython/Lib/test/test_email
R David Murray 80e0aee95b #1672568: email now registers defects for base64 payload format errors.
Which also means that it is now producing *something* for any base64
payload, which is what leads to the couple of older test changes in
test_email.  This is a slightly backward incompatible behavior change,
but the new behavior is so much more useful than the old (you can now
*reliably* detect errors, and any program that was detecting errors by
sniffing for a base64 return from get_payload(decode=True) and then doing
its own error-recovery decode will just get the error-recovery decode
right away).  So this seems to me to be worth the small risk inherent
in this behavior change.

This patch also refactors the defect tests into a separate test file,
since they are no longer just parser tests.
2012-05-27 21:23:34 -04:00
..
data
__init__.py #12586: add provisional email policy with new header parsing and folding. 2012-05-25 18:42:14 -04:00
__main__.py
test__encoded_words.py #12586: add provisional email policy with new header parsing and folding. 2012-05-25 18:42:14 -04:00
test__header_value_parser.py Recognize '<>' as a special case of an angle-addr in header_value_parser. 2012-05-26 14:31:12 -04:00
test_asian_codecs.py
test_defect_handling.py #1672568: email now registers defects for base64 payload format errors. 2012-05-27 21:23:34 -04:00
test_email.py #1672568: email now registers defects for base64 payload format errors. 2012-05-27 21:23:34 -04:00
test_generator.py #12586: add provisional email policy with new header parsing and folding. 2012-05-25 18:42:14 -04:00
test_headerregistry.py Make headerregistry fully part of the provisional api. 2012-05-27 15:03:38 -04:00
test_parser.py #1672568: email now registers defects for base64 payload format errors. 2012-05-27 21:23:34 -04:00
test_pickleable.py Make headerregistry fully part of the provisional api. 2012-05-27 15:03:38 -04:00
test_policy.py Make headerregistry fully part of the provisional api. 2012-05-27 15:03:38 -04:00
test_utils.py #665194: Add a localtime function to email.utils. 2012-05-25 23:22:59 -04:00
torture_test.py