mirror of https://github.com/python/cpython
add new skipping things to __all__
This commit is contained in:
parent
4e4de33ca9
commit
c750d4d761
|
@ -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'])
|
||||||
|
|
Loading…
Reference in New Issue