summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/result.py
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-02-10 15:51:42 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-02-10 15:51:42 (GMT)
commit34c9462d713275762803f102a68f23dd2bb7460a (patch)
treeb56e5520cce62534e26f55285f1ded54de3caa06 /Lib/unittest/result.py
parent99f69ee7a1cf4d032d420ad69d22bd44b8cf6cc8 (diff)
downloadcpython-34c9462d713275762803f102a68f23dd2bb7460a.zip
cpython-34c9462d713275762803f102a68f23dd2bb7460a.tar.gz
cpython-34c9462d713275762803f102a68f23dd2bb7460a.tar.bz2
Merged revisions 78130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78130 | michael.foord | 2010-02-10 14:25:12 +0000 (Wed, 10 Feb 2010) | 1 line Issue 7893 and Issue 7588 ........
Diffstat (limited to 'Lib/unittest/result.py')
-rw-r--r--Lib/unittest/result.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/unittest/result.py b/Lib/unittest/result.py
index 3e32eb0..4538304 100644
--- a/Lib/unittest/result.py
+++ b/Lib/unittest/result.py
@@ -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.