[issue18848] In unittest.TestResult .startTestRun() and .stopTestRun() methods don't work

2015-11-17 Thread Omar Diab
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

[issue18848] In unittest.TestResult .startTestRun() and .stopTestRun() methods don't work

2013-08-27 Thread py.user
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):

[issue18848] In unittest.TestResult .startTestRun() and .stopTestRun() methods don't work

2013-08-27 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18848 ___ ___

[issue18848] In unittest.TestResult .startTestRun() and .stopTestRun() methods don't work

2013-08-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +ezio.melotti, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18848 ___ ___

[issue18848] In unittest.TestResult .startTestRun() and .stopTestRun() methods don't work

2013-08-27 Thread Michael Foord
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