cpython/Lib/test/test_email
Rito Takeuchi 504334c7be
gh-77749: Fix inconsistent behavior of non-ASCII handling in EmailPolicy.fold() (GH-6986)
It now always encodes non-ASCII characters in headers if utf8 is false.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-01-26 15:19:41 +00:00
..
data gh-106186: Don't report MultipartInvariantViolationDefect for valid multipart emails when parsing header only (#107016) 2023-07-23 12:25:18 +02:00
__init__.py
__main__.py
test__encoded_words.py
test__header_value_parser.py gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730) 2024-01-10 14:54:36 +02:00
test_asian_codecs.py
test_contentmanager.py
test_defect_handling.py
test_email.py [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (#111116) 2023-12-15 16:10:40 +01:00
test_generator.py
test_headerregistry.py
test_inversion.py
test_message.py gh-94606: Fix error when message with Unicode surrogate not surrogateescaped string (GH-94641) 2023-12-11 18:21:18 +02:00
test_parser.py
test_pickleable.py
test_policy.py gh-77749: Fix inconsistent behavior of non-ASCII handling in EmailPolicy.fold() (GH-6986) 2024-01-26 15:19:41 +00:00
test_utils.py gh-113027: Fix timezone check in test_variable_tzname in test_email (GH-113835) 2024-01-12 11:46:17 +01:00
torture_test.py