From c750d4d7617e1dc276c9bea7af3457b3a5d66ae4 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 24 Mar 2009 00:39:24 +0000 Subject: add new skipping things to __all__ --- Lib/unittest.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Lib/unittest.py b/Lib/unittest.py index c67ec06..22f8a3d 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']) -- cgit v0.12