mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	add new skipping things to __all__
This commit is contained in:
		
							parent
							
								
									4e4de33ca9
								
							
						
					
					
						commit
						c750d4d761
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -55,8 +55,10 @@ def testMultiply(self): | |||
| ############################################################################## | ||||
| # 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']) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson