summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_argparse.py
diff options
context:
space:
mode:
authorAbhigyan Bose <abhigyandeepbose@gmail.com>2022-04-28 11:29:24 (GMT)
committerGitHub <noreply@github.com>2022-04-28 11:29:24 (GMT)
commit88dd22795925a8f47d38737ca8067eeb3f0a13aa (patch)
treea188f7e8a550b913ff7b5224f0fc12dc26031c82 /Lib/test/test_argparse.py
parentcd1fbbc81761dc26ce6daf724d57d48e965e5817 (diff)
downloadcpython-88dd22795925a8f47d38737ca8067eeb3f0a13aa.zip
cpython-88dd22795925a8f47d38737ca8067eeb3f0a13aa.tar.gz
cpython-88dd22795925a8f47d38737ca8067eeb3f0a13aa.tar.bz2
gh-91984: Fix trailing spaces in multiline test strings in test_argparse (GH-91986)
Diffstat (limited to 'Lib/test/test_argparse.py')
-rw-r--r--Lib/test/test_argparse.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py
index 1f03b7f..fd107fa 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
'''))