diff options
| author | Mike Edmunds <medmunds@gmail.com> | 2026-05-13 12:25:44 -0700 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-05-14 07:49:25 -0400 |
| commit | 25cf1cbb1cb92c6c57b76cc43d697cfdc61f568f (patch) | |
| tree | 18af75c4dfb75d6c65142dc4c6211944b0e5471a /scripts/prepare_commit_msg.py | |
| parent | ed5486376989c08b34cc62e7c8ba4a07bd60047d (diff) | |
Refs #36664 -- Updated SMTP EmailBackend tests for Python 3.15.
Versions of Python prior to 3.15 would incorrectly encode non-ASCII
email addresses using rfc2047, resulting in undeliverable email. The
SMTP EmailBackend detects and prevents that (#35713). Python 3.15 fixes
that behavior (CPython issue gh-122476).
Updated test_rejects_non_ascii_local_part() to feature-detect the fix
(in case it is backported) and check for a representative section of
the Python error message if so; otherwise test for the SMTP EmailBackend
workaround.
Updated comments to clarify need and requirement.
Diffstat (limited to 'scripts/prepare_commit_msg.py')
0 files changed, 0 insertions, 0 deletions
