Skip to content

Commit 88dd227

Browse files
authored
gh-91984: Fix trailing spaces in multiline test strings in test_argparse (GH-91986)
1 parent cd1fbbc commit 88dd227

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Lib/test/test_argparse.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2265,8 +2265,7 @@ def test_help_blank(self):
22652265
main description
22662266
22672267
positional arguments:
2268-
foo
2269-
2268+
foo \n
22702269
options:
22712270
-h, --help show this help message and exit
22722271
'''))
@@ -2282,8 +2281,7 @@ def test_help_blank(self):
22822281
main description
22832282
22842283
positional arguments:
2285-
{}
2286-
2284+
{} \n
22872285
options:
22882286
-h, --help show this help message and exit
22892287
'''))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Modified test strings in test_argparse.py to not contain trailing spaces before end of line.

0 commit comments

Comments
 (0)