gh-91984: Fix trailing spaces in multiline test strings in test_argparse (GH-91986)

This commit is contained in:
Abhigyan Bose 2022-04-28 16:59:24 +05:30 committed by GitHub
parent cd1fbbc817
commit 88dd227959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -2265,8 +2265,7 @@ class TestAddSubparsers(TestCase):
main description main description
positional arguments: positional arguments:
foo foo \n
options: options:
-h, --help show this help message and exit -h, --help show this help message and exit
''')) '''))
@ -2282,8 +2281,7 @@ class TestAddSubparsers(TestCase):
main description main description
positional arguments: positional arguments:
{} {} \n
options: options:
-h, --help show this help message and exit -h, --help show this help message and exit
''')) '''))

View File

@ -0,0 +1 @@
Modified test strings in test_argparse.py to not contain trailing spaces before end of line.