diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 1f03b7fb242..fd107faee47 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 00000000000..82c2907bf4d --- /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.