From: Benjamin Peterson Date: Tue, 24 Mar 2009 00:39:24 +0000 (+0000) Subject: add new skipping things to __all__ X-Git-Tag: v2.7a1~1804 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c750d4d7617e1dc276c9bea7af3457b3a5d66ae4;p=python add new skipping things to __all__ --- diff --git a/Lib/unittest.py b/Lib/unittest.py index c67ec0633c..22f8a3d0d0 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -55,8 +55,10 @@ import functools ############################################################################## # Exported classes and functions ############################################################################## -__all__ = ['TestResult', 'TestCase', 'TestSuite', 'TextTestRunner', - 'TestLoader', 'FunctionTestCase', 'main', 'defaultTestLoader'] +__all__ = ['TestResult', 'TestCase', 'TestSuite', 'ClassTestSuite', + 'TextTestRunner', 'TestLoader', 'FunctionTestCase', 'main', + 'defaultTestLoader', 'SkipException', 'skip', 'skipIf', 'skipUnless', + 'expectedFailure'] # Expose obsolete functions for backwards compatibility __all__.extend(['getTestCaseNames', 'makeSuite', 'findTestCases'])