Kaydet (Commit) c750d4d7 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

add new skipping things to __all__

üst 4e4de33c
...@@ -55,8 +55,10 @@ import functools ...@@ -55,8 +55,10 @@ import functools
############################################################################## ##############################################################################
# Exported classes and functions # Exported classes and functions
############################################################################## ##############################################################################
__all__ = ['TestResult', 'TestCase', 'TestSuite', 'TextTestRunner', __all__ = ['TestResult', 'TestCase', 'TestSuite', 'ClassTestSuite',
'TestLoader', 'FunctionTestCase', 'main', 'defaultTestLoader'] 'TextTestRunner', 'TestLoader', 'FunctionTestCase', 'main',
'defaultTestLoader', 'SkipException', 'skip', 'skipIf', 'skipUnless',
'expectedFailure']
# Expose obsolete functions for backwards compatibility # Expose obsolete functions for backwards compatibility
__all__.extend(['getTestCaseNames', 'makeSuite', 'findTestCases']) __all__.extend(['getTestCaseNames', 'makeSuite', 'findTestCases'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment