summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-24 00:39:24 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-03-24 00:39:24 (GMT)
commitc750d4d7617e1dc276c9bea7af3457b3a5d66ae4 (patch)
treec3300fb0c6acfa7989555159e8f0d93cf828dc85
parent4e4de33ca9987ce0703cab54f63e3c546b29adf4 (diff)
downloadcpython-c750d4d7617e1dc276c9bea7af3457b3a5d66ae4.zip
cpython-c750d4d7617e1dc276c9bea7af3457b3a5d66ae4.tar.gz
cpython-c750d4d7617e1dc276c9bea7af3457b3a5d66ae4.tar.bz2
add new skipping things to __all__
-rw-r--r--Lib/unittest.py6
1 files 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'])