Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb468b4

Browse files
author
Michael Foord
committed
Merged revisions 78158 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r78158 | michael.foord | 2010-02-11 14:12:07 +0000 (Thu, 11 Feb 2010) | 1 line Adding TextTestResult to unittest.__all__ ........
1 parent e3da75a commit cb468b4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/unittest/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ def testMultiply(self):
4747
__all__ = ['TestResult', 'TestCase', 'TestSuite',
4848
'TextTestRunner', 'TestLoader', 'FunctionTestCase', 'main',
4949
'defaultTestLoader', 'SkipTest', 'skip', 'skipIf', 'skipUnless',
50-
'expectedFailure']
50+
'expectedFailure', 'TextTestResult']
5151

5252
# Expose obsolete functions for backwards compatibility
5353
__all__.extend(['getTestCaseNames', 'makeSuite', 'findTestCases'])
54+
__all__.append('_TextTestResult')
5455

5556

5657
from .result import TestResult

0 commit comments

Comments
 (0)