From e3016c2d7910ff3f1a5d07be020c4167983144cd34061f572ee437c241f47b9f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 12 Aug 2023 05:43:19 +0000 Subject: [PATCH] Fix patches OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=377 --- Revert-gh105127-left-tests.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Revert-gh105127-left-tests.patch b/Revert-gh105127-left-tests.patch index 00d4a9f..7cce35c 100644 --- a/Revert-gh105127-left-tests.patch +++ b/Revert-gh105127-left-tests.patch @@ -14,10 +14,10 @@ Co-authored-by: Gregory P. Smith --- Doc/library/email.utils.rst | 24 -- 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 ----- 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 --- a/Doc/library/email.utils.rst @@ -320,12 +320,13 @@ Co-authored-by: Gregory P. Smith while clock() < tfin: --- a/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( ['[]*-- =~$']), - [('', ''), ('', ''), ('', '*--')]) -+ [('', ''),]) ++ [('', ''), ('', ''), ('', '*--')] ++ ) eq(utils.getaddresses( ['foo: ;', '"Jason R. Mastaler" ']), [('', ''), ('Jason R. Mastaler', 'jason@dom.ain')])