Message360666
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. |
|
Date |
User |
Action |
Args |
2020-01-25 01:03:33 | scirelli | set | recipients:
+ scirelli |
2020-01-25 01:03:33 | scirelli | set | messageid: <1579914213.48.0.14030240002.issue39450@roundup.psfhosted.org> |
2020-01-25 01:03:33 | scirelli | link | issue39450 messages |
2020-01-25 01:03:33 | scirelli | create | |
|