Adding TextTestResult to unittest.__all__

This commit is contained in:
Michael Foord 2010-02-11 14:12:07 +00:00
parent bc0e83c2b9
commit e5e7696458
1 changed files with 2 additions and 1 deletions

View File

@ -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