[issue11385] TextTestRunner methods are not documented

Terry J. Reedy report at bugs.python.org
Sat Mar 5 00:26:21 CET 2011


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I also see that TextTestRunner has an attribute resultclass, which is TextTestResult. Is this intended to be ever changed?

The docstring for TTRunner says "It prints out the names of tests as they are run, errors as they occur, and a summary of the results at the end of the test run." which seems to be what .main() does. The manual just has the less informative "A basic test runner implementation that outputs results to a stream." I prefer the former.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11385>
_______________________________________


More information about the Python-bugs-list mailing list