mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Issue 7893 and Issue 7588
This commit is contained in:
parent
42fb6ab491
commit
db43b5a1f5
7 changed files with 101 additions and 46 deletions
|
@ -27,7 +27,7 @@ class TestResult(object):
|
|||
|
||||
def startTest(self, test):
|
||||
"Called when the given test is about to be run"
|
||||
self.testsRun = self.testsRun + 1
|
||||
self.testsRun += 1
|
||||
|
||||
def startTestRun(self):
|
||||
"""Called once before any tests are executed.
|
||||
|
@ -36,8 +36,7 @@ class TestResult(object):
|
|||
"""
|
||||
|
||||
def stopTest(self, test):
|
||||
"Called when the given test has been run"
|
||||
pass
|
||||
"""Called when the given test has been run"""
|
||||
|
||||
def stopTestRun(self):
|
||||
"""Called once after all tests are executed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue