diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-24 00:39:24 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-24 00:39:24 +0000 |
commit | c750d4d7617e1dc276c9bea7af3457b3a5d66ae4 (patch) | |
tree | c3300fb0c6acfa7989555159e8f0d93cf828dc85 /Lib/unittest.py | |
parent | 4e4de33ca9987ce0703cab54f63e3c546b29adf4 (diff) | |
download | cpython-git-c750d4d7617e1dc276c9bea7af3457b3a5d66ae4.tar.gz |
add new skipping things to __all__
Diffstat (limited to 'Lib/unittest.py')
-rw-r--r-- | Lib/unittest.py | 6 |
1 files changed, 4 insertions, 2 deletions
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']) |