Skip to content

Commit

Permalink
Fixed incorrect documentation in test.py
Browse files Browse the repository at this point in the history
The argparse documented an outdated format, and was off by 1.

Found by sender6
  • Loading branch information
geky committed Jan 18, 2021
1 parent 10a0883 commit 21488d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -746,9 +746,9 @@ def main(**args):
parser.add_argument('testpaths', nargs='*', default=[TESTDIR],
help="Description of test(s) to run. By default, this is all tests \
found in the \"{0}\" directory. Here, you can specify a different \
directory of tests, a specific file, a suite by name, and even a \
specific test case by adding brackets. For example \
\"test_dirs[0]\" or \"{0}/test_dirs.toml[0]\".".format(TESTDIR))
directory of tests, a specific file, a suite by name, and even \
specific test cases and permutations. For example \
\"test_dirs#1\" or \"{0}/test_dirs.toml#1#1\".".format(TESTDIR))
parser.add_argument('-D', action='append', default=[],
help="Overriding parameter definitions.")
parser.add_argument('-v', '--verbose', action='store_true',
Expand Down

0 comments on commit 21488d9

Please sign in to comment.