mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Addition of setUpClass and setUpModule shared fixtures to unittest.
This commit is contained in:
parent
0d4bfec134
commit
5ffa325a82
5 changed files with 600 additions and 11 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue