Adding TextTestResult to unittest.__all__
This commit is contained in:
parent
bc0e83c2b9
commit
e5e7696458
|
@ -47,10 +47,11 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
|||
__all__ = ['TestResult', 'TestCase', 'TestSuite',
|
||||
'TextTestRunner', 'TestLoader', 'FunctionTestCase', 'main',
|
||||
'defaultTestLoader', 'SkipTest', 'skip', 'skipIf', 'skipUnless',
|
||||
'expectedFailure']
|
||||
'expectedFailure', 'TextTestResult']
|
||||
|
||||
# Expose obsolete functions for backwards compatibility
|
||||
__all__.extend(['getTestCaseNames', 'makeSuite', 'findTestCases'])
|
||||
__all__.append('_TextTestResult')
|
||||
|
||||
|
||||
from .result import TestResult
|
||||
|
|
Loading…
Reference in New Issue