cpython/Lib/test/test_email
R David Murray 00ae435dee #18324: set_payload now correctly handles binary input.
This also backs out the previous fixes for for #14360, #1717, and #16564.
Those bugs were actually caused by the fact that set_payload didn't decode to
str, thus rendering the model inconsistent.  This fix does mean the data
processed by the encoder functions goes through an extra encode/decode cycle,
but it means the model is always consistent.  Future API updates will provide
a better way to encode payloads, which will bypass this minor de-optimization.

Tests by Vajrasky Kok.
2013-08-21 21:10:31 -04:00
..
data
__init__.py
__main__.py
test__encoded_words.py Closes #18464: fix typo in test name. 2013-07-15 12:09:47 -04:00
test__header_value_parser.py #18431: Decode encoded words in atoms in new email parser. 2013-07-12 16:00:28 -04:00
test_asian_codecs.py
test_defect_handling.py
test_email.py #18324: set_payload now correctly handles binary input. 2013-08-21 21:10:31 -04:00
test_generator.py
test_headerregistry.py #18741: fix more typos. Patch by Févry Thibault. 2013-08-17 16:11:40 +03:00
test_inversion.py Closes #18475: add unittest.main() to test_email/test_inversions. 2013-07-16 11:45:31 -04:00
test_message.py
test_parser.py
test_pickleable.py
test_policy.py
test_utils.py
torture_test.py