Matej Cepl 2023-08-12 05:43:19 +00:00 committed by Git OBS Bridge
parent 2cdb3378ec
commit e3016c2d79

View File

@ -14,10 +14,10 @@ Co-authored-by: Gregory P. Smith <greg@krypto.org>
--- ---
Doc/library/email.utils.rst | 24 -- Doc/library/email.utils.rst | 24 --
Lib/email/test/test_email.py | 113 +++++----- Lib/email/test/test_email.py | 113 +++++-----
Lib/email/test/test_email_renamed.py | 2 Lib/email/test/test_email_renamed.py | 3
Lib/email/utils.py | 66 ----- Lib/email/utils.py | 66 -----
Misc/NEWS.d/next/Security/2023-06-13-20-52-24.gh-issue-102988.Kei7Vf.rst | 5 Misc/NEWS.d/next/Security/2023-06-13-20-52-24.gh-issue-102988.Kei7Vf.rst | 5
5 files changed, 77 insertions(+), 133 deletions(-) 5 files changed, 78 insertions(+), 133 deletions(-)
create mode 100644 Misc/NEWS.d/next/Security/2023-06-13-20-52-24.gh-issue-102988.Kei7Vf.rst create mode 100644 Misc/NEWS.d/next/Security/2023-06-13-20-52-24.gh-issue-102988.Kei7Vf.rst
--- a/Doc/library/email.utils.rst --- a/Doc/library/email.utils.rst
@ -320,12 +320,13 @@ Co-authored-by: Gregory P. Smith <greg@krypto.org>
while clock() < tfin: while clock() < tfin:
--- a/Lib/email/test/test_email_renamed.py --- a/Lib/email/test/test_email_renamed.py
+++ b/Lib/email/test/test_email_renamed.py +++ b/Lib/email/test/test_email_renamed.py
@@ -2280,7 +2280,7 @@ Foo @@ -2280,7 +2280,8 @@ Foo
eq(utils.getaddresses(['foo: ;']), [('', '')]) eq(utils.getaddresses(['foo: ;']), [('', '')])
eq(utils.getaddresses( eq(utils.getaddresses(
['[]*-- =~$']), ['[]*-- =~$']),
- [('', ''), ('', ''), ('', '*--')]) - [('', ''), ('', ''), ('', '*--')])
+ [('', ''),]) + [('', ''), ('', ''), ('', '*--')]
+ )
eq(utils.getaddresses( eq(utils.getaddresses(
['foo: ;', '"Jason R. Mastaler" <jason@dom.ain>']), ['foo: ;', '"Jason R. Mastaler" <jason@dom.ain>']),
[('', ''), ('Jason R. Mastaler', 'jason@dom.ain')]) [('', ''), ('Jason R. Mastaler', 'jason@dom.ain')])