Omar Diab added the comment:
I found out about this while writing my own test runner, and investigated it in
an answer to a StackOverflow question here:
https://stackoverflow.com/questions/32920025/how-do-i-use-unittest-testresult/33770125#33770125
The startTestRun() method is supposed to be
New submission from py.user:
http://docs.python.org/3/library/unittest.html#unittest.TestResult.startTestRun
http://docs.python.org/3/library/unittest.html#unittest.TestResult.stopTestRun
result.py:
#!/usr/bin/env python3
import unittest
class Test(unittest.TestCase):
def test_1(self):
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18848
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +ezio.melotti, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18848
___
___
Michael Foord added the comment:
It is the TextTestRunner that calls startTestRun and stopTestRun not the suite.
The documentation could be improved to make that clear *or* the call could be
moved into the TestSuite as not everybody uses the TextTestRunner. That would
be a change in