diff options
| author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-03-07 22:04:55 (GMT) |
|---|---|---|
| committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-03-07 22:04:55 (GMT) |
| commit | 5ffa325a82b89a7b79d779b32a4d9ad2ad91aadd (patch) | |
| tree | 0b776494662a22fdaa6347ff13dd78210cf4da7a /Lib/unittest/result.py | |
| parent | 0d4bfec13420ff5085c80dca2fe94cdb90712018 (diff) | |
| download | cpython-5ffa325a82b89a7b79d779b32a4d9ad2ad91aadd.zip cpython-5ffa325a82b89a7b79d779b32a4d9ad2ad91aadd.tar.gz cpython-5ffa325a82b89a7b79d779b32a4d9ad2ad91aadd.tar.bz2 | |
Addition of setUpClass and setUpModule shared fixtures to unittest.
Diffstat (limited to 'Lib/unittest/result.py')
| -rw-r--r-- | Lib/unittest/result.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/unittest/result.py b/Lib/unittest/result.py index 22e825a..746967e 100644 --- a/Lib/unittest/result.py +++ b/Lib/unittest/result.py @@ -16,6 +16,8 @@ class TestResult(object): contain tuples of (testcase, exceptioninfo), where exceptioninfo is the formatted traceback of the error that occurred. """ + _previousTestClass = None + _moduleSetUpFailed = False def __init__(self, stream=None, descriptions=None, verbosity=None): self.failures = [] self.errors = [] |
