[docs] There is no standard TestCase.runTest implementation (issue 22153)

ezio.melotti at gmail.com ezio.melotti at gmail.com
Fri Oct 31 18:00:26 CET 2014


http://bugs.python.org/review/22153/diff/12734/Doc/library/unittest.rst
File Doc/library/unittest.rst (right):

http://bugs.python.org/review/22153/diff/12734/Doc/library/unittest.rst#newcode657
Doc/library/unittest.rst:657: In most uses of :class:`TestCase`, you
will neither change
This line is indented wrong.

http://bugs.python.org/review/22153/diff/12734/Doc/library/unittest.rst#newcode1561
Doc/library/unittest.rst:1561: If no methods with the usual name prefix
are found, but the ``runTest()`` method is implemented, there will be a
single test case using that method.
This line is too long, and also not too clear to me.
What is the usual name prefix? "test_"?
Does "a single test case" refers to *testCaseClass*?  What are test
cases should use runTest? What does "using" mean here?

http://bugs.python.org/review/22153/


More information about the docs mailing list