diff options
Diffstat (limited to 'test/test_argparse.py')
-rw-r--r-- | test/test_argparse.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_argparse.py b/test/test_argparse.py index 1fab404..926b685 100644 --- a/test/test_argparse.py +++ b/test/test_argparse.py @@ -41,11 +41,11 @@ def test_argparse(capsys): full_help = dedent("""\ usage: py.test [-h] [--verbose] [--list LIST] [--oneline] - {} + {0} optional arguments: -h, --help show this help message and exit - --verbose {} - --list LIST {} + --verbose {1} + --list LIST {2} --oneline one line help """).format( desc, help_verbose, @@ -87,11 +87,11 @@ def test_argparse_default(capsys): full_help = dedent("""\ usage: py.test [-h] [--verbose] [--list LIST] [--oneline] - {} + {0} optional arguments: -h, --help show this help message and exit - --verbose {} (default: False) - --list LIST {} + --verbose {1} (default: False) + --list LIST {2} (default: None) --oneline one line help (default: False) """).format( |