diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-02-11 14:16:38 +0000 |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-02-11 14:16:38 +0000 |
commit | b5a9eea40d61c1360261fa82833803403317c301 (patch) | |
tree | 6c5d38a56177723168929cec425dfc28be673a03 /Lib/unittest/__init__.py | |
parent | 968ca2c2299efe324b0dfbdbb13f07c3b112b71c (diff) | |
download | cpython-b5a9eea40d61c1360261fa82833803403317c301.tar.gz |
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__
........
Diffstat (limited to 'Lib/unittest/__init__.py')
-rw-r--r-- | Lib/unittest/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/unittest/__init__.py b/Lib/unittest/__init__.py index c12e669790..4a308fa1c4 100644 --- a/Lib/unittest/__init__.py +++ b/Lib/unittest/__init__.py @@ -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 |