Merged revisions 78158 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78158 | michael.foord | 2010-02-11 14:12:07 +0000 (Thu, 11 Feb 2010) | 1 line

  Adding TextTestResult to unittest.__all__
........
This commit is contained in:
Michael Foord 2010-02-11 14:16:38 +00:00
parent e3da75a773
commit cb468b4427
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