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

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#newc... Doc/library/unittest.rst:657: In most uses of :class:`TestCase`, you will neither change On 2014/10/31 18:00:26, ezio.melotti wrote:
This line is indented wrong.
I can fix this up at commit time. http://bugs.python.org/review/22153/diff/12734/Doc/library/unittest.rst#newc... 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. On 2014/10/31 18:00:26, ezio.melotti wrote:
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?
TestClass('runTest') rather than TestClass('test_something'). It seems clear enough to me, but I am probably too close to the implementation. Do you have some suggested improvement to the prose? The name prefix is indeed test_, but thats covered elsewhere I think. http://bugs.python.org/review/22153/
participants (1)
-
robertc@robertcollins.net