Improve regression test documentation (#10935)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Sebastian Rittau
2023-10-29 11:07:17 +01:00
committed by GitHub
parent c74c8b0507
commit f7aa7b709a
3 changed files with 13 additions and 2 deletions

View File

@@ -104,7 +104,8 @@ the stubs in typeshed (including the standard library).
## regr\_test.py
This test runs mypy against the test cases for typeshed's stdlib and third-party
stubs. See the README in the `test_cases` directory for more information about what
stubs. See [the README in the `test_cases` directory](../test_cases/README.md)
for more information about what
these test cases are for and how they work. Run `python tests/regr_test.py --help`
for information on the various configuration options.

View File

@@ -69,7 +69,10 @@ parser.add_argument(
type=package_with_test_cases,
nargs="*",
action="extend",
help="Test only these packages (defaults to all typeshed stubs that have test cases)",
help=(
"Test only these packages (defaults to all typeshed stubs that have test cases). "
'Use "stdlib" to test the standard library test cases.'
),
)
parser.add_argument(
"--all",