From 21488d9e067ea8b5b5da4e6c9c911c8751c68217 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Sun, 13 Dec 2020 10:26:46 -0600 Subject: [PATCH] Fixed incorrect documentation in test.py The argparse documented an outdated format, and was off by 1. Found by sender6 --- scripts/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/test.py b/scripts/test.py index e5869c2..9d3d2b5 100755 --- a/scripts/test.py +++ b/scripts/test.py @@ -746,9 +746,9 @@ if __name__ == "__main__": 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',