-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
unittest TestCase shortDescription does not strip whitespace #83631
Comments
When running unit tests with the --verbose flag test descriptions are run using the first line of the test case's docstring. If the first character of the docstring is a newline, no description is printed. Some Python developers start the string on the next line. Example: Lib.unittest.case.TestCase:shortDescription should first strip the docstrip of beginning and trailing whitespace. |
This seems complete, can it be closed? |
I believe this also resolves bpo-30181 (which was the same issue). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: