diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-11-01 21:09:03 (GMT) |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-11-01 21:09:03 (GMT) |
commit | bbea35f194c6a2a64ce96526bd5eee37a75e8c0a (patch) | |
tree | 81ff5627203744ca6f12ab8d104520c58f249df4 /Lib/unittest/result.py | |
parent | e6fa3811f7eaca03e022c28717878c3c5b22db66 (diff) | |
download | cpython-bbea35f194c6a2a64ce96526bd5eee37a75e8c0a.zip cpython-bbea35f194c6a2a64ce96526bd5eee37a75e8c0a.tar.gz cpython-bbea35f194c6a2a64ce96526bd5eee37a75e8c0a.tar.bz2 |
Fix issue 9926. TestSuite subclasses that override __call__ are called correctly.
Diffstat (limited to 'Lib/unittest/result.py')
-rw-r--r-- | Lib/unittest/result.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/unittest/result.py b/Lib/unittest/result.py index 1dbd04c..3dc7154 100644 --- a/Lib/unittest/result.py +++ b/Lib/unittest/result.py @@ -34,6 +34,7 @@ class TestResult(object): formatted traceback of the error that occurred. """ _previousTestClass = None + _testRunEntered = False _moduleSetUpFailed = False def __init__(self, stream=None, descriptions=None, verbosity=None): self.failfast = False |