This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scirelli
Recipients scirelli
Date 2020-01-25.01:03:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579914213.48.0.14030240002.issue39450@roundup.psfhosted.org>
In-reply-to
Content
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.
Examples:
Current code expects docstrings to look like
'''It should return blah blah
This is a test...
'''
Where the description starts on the first line.

Some Python developers start the string on the next line. Example:
'''
It should return blah blah
This is a test...
'''

Lib.unittest.case.TestCase:shortDescription should first strip the docstrip of beginning and trailing whitespace.
History
Date User Action Args
2020-01-25 01:03:33scirellisetrecipients: + scirelli
2020-01-25 01:03:33scirellisetmessageid: <1579914213.48.0.14030240002.issue39450@roundup.psfhosted.org>
2020-01-25 01:03:33scirellilinkissue39450 messages
2020-01-25 01:03:33scirellicreate