summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/suite.py
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-12-19 04:07:28 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-12-19 04:07:28 (GMT)
commitcca5be2e4c5b1a45f42e63e9b1a0a6c6a6647876 (patch)
tree6c211a07c8a1bc4eb34a22f011e539b71724087a /Lib/unittest/suite.py
parentf100dbd6009e18bb1ab14fa6da8732751b1a9add (diff)
downloadcpython-cca5be2e4c5b1a45f42e63e9b1a0a6c6a6647876.zip
cpython-cca5be2e4c5b1a45f42e63e9b1a0a6c6a6647876.tar.gz
cpython-cca5be2e4c5b1a45f42e63e9b1a0a6c6a6647876.tar.bz2
Improvement to fix for issue 9926 to allow TestResult to be reused.
Diffstat (limited to 'Lib/unittest/suite.py')
-rw-r--r--Lib/unittest/suite.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/unittest/suite.py b/Lib/unittest/suite.py
index 73f0e17..77ce089 100644
--- a/Lib/unittest/suite.py
+++ b/Lib/unittest/suite.py
@@ -104,6 +104,7 @@ class TestSuite(BaseTestSuite):
if topLevel:
self._tearDownPreviousClass(None, result)
self._handleModuleTearDown(result)
+ result._testRunEntered = False
return result
def debug(self):