From: Abhigyan Bose Date: Thu, 28 Apr 2022 11:29:24 +0000 (+0530) Subject: gh-91984: Fix trailing spaces in multiline test strings in test_argparse (GH-91986) X-Git-Tag: v3.11.0b1~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88dd22795925a8f47d38737ca8067eeb3f0a13aa;p=thirdparty%2FPython%2Fcpython.git gh-91984: Fix trailing spaces in multiline test strings in test_argparse (GH-91986) --- diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 1f03b7fb2426..fd107faee476 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -2265,8 +2265,7 @@ class TestAddSubparsers(TestCase): main description positional arguments: - foo - + foo \n options: -h, --help show this help message and exit ''')) @@ -2282,8 +2281,7 @@ class TestAddSubparsers(TestCase): main description positional arguments: - {} - + {} \n options: -h, --help show this help message and exit ''')) diff --git a/Misc/NEWS.d/next/Library/2022-04-27-18-30-00.gh-issue-91984.LxAB11.rst b/Misc/NEWS.d/next/Library/2022-04-27-18-30-00.gh-issue-91984.LxAB11.rst new file mode 100644 index 000000000000..82c2907bf4da --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-04-27-18-30-00.gh-issue-91984.LxAB11.rst @@ -0,0 +1 @@ +Modified test strings in test_argparse.py to not contain trailing spaces before end of line.