-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Possible typo in the documentation of unittest.TestLoader.testNamePatterns #100824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
docs
Documentation in the Doc dir
Comments
kumaraditya303
pushed a commit
that referenced
this issue
Jan 8, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 8, 2023
….testNamePatterns (pythonGH-100825) (cherry picked from commit 6d3bc4a) Co-authored-by: busywhitespace <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 8, 2023
….testNamePatterns (pythonGH-100825) (cherry picked from commit 6d3bc4a) Co-authored-by: busywhitespace <[email protected]>
miss-islington
added a commit
that referenced
this issue
Jan 8, 2023
…amePatterns (GH-100825) (cherry picked from commit 6d3bc4a) Co-authored-by: busywhitespace <[email protected]>
miss-islington
added a commit
that referenced
this issue
Jan 8, 2023
…amePatterns (GH-100825) (cherry picked from commit 6d3bc4a) Co-authored-by: busywhitespace <[email protected]>
Closing, this has been fixed in main, 3.11 and 3.10. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation for TestLoader.testNamePatterns in the module unittest says:
But the option -v only increases verbosity, does not accept an argument, and so doesn't work with test name patterns.
In my opinion, it should be an option -k, because the option -k is used to pass a pattern as the output of
unittest --help
says:Also checking the source code, -k is bound to testNamePatterns
I've created the PR in case the issue is correct.
Linked PRs
The text was updated successfully, but these errors were encountered: