cpython/Lib/test/test_email
Miss Islington (bot) fd8aafd64d
[3.12] gh-77749: Fix inconsistent behavior of non-ASCII handling in EmailPolicy.fold() (GH-6986) (GH-114606)
It now always encodes non-ASCII characters in headers if utf8 is false.

(cherry picked from commit 504334c7be)

Co-authored-by: Rito Takeuchi <licht-t@outlook.jp>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-01-26 18:30:32 +02:00
..
data [3.12] gh-106186: Don't report MultipartInvariantViolationDefect for valid multipart emails when parsing header only (GH-107016) (#107111) 2023-07-23 14:28:28 +02:00
__init__.py
__main__.py
test__encoded_words.py
test__header_value_parser.py [3.12] gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730) (GH-113907) 2024-01-10 13:21:50 +00:00
test_asian_codecs.py
test_contentmanager.py
test_defect_handling.py
test_email.py [3.12] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (#108798) 2023-09-03 01:22:33 +02:00
test_generator.py
test_headerregistry.py
test_inversion.py
test_message.py [3.12] gh-94606: Fix error when message with Unicode surrogate not surrogateescaped string (GH-94641) (GH-112971) 2023-12-11 16:48:06 +00:00
test_parser.py
test_pickleable.py
test_policy.py [3.12] gh-77749: Fix inconsistent behavior of non-ASCII handling in EmailPolicy.fold() (GH-6986) (GH-114606) 2024-01-26 18:30:32 +02:00
test_utils.py [3.12] gh-113027: Fix test_variable_tzname in test_email (GH-113821) (GH-113831) 2024-01-12 12:00:17 +00:00
torture_test.py