mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 5d74713093
			
		
	
	
		5d74713093
		
			
		
	
	
	
	
		
			
			(cherry picked from commit f59ed3c310)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
		
	
			
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from test import support
 | |
| # Skip test if _tkinter wasn't built.
 | |
| support.import_module('_tkinter')
 | |
| 
 | |
| # Skip test if tk cannot be initialized.
 | |
| support.requires('gui')
 | |
| 
 | |
| def load_tests(loader, tests, pattern):
 | |
|     return loader.discover('tkinter.test.test_tkinter')
 | |
| 
 | |
| 
 | |
| if __name__ == '__main__':
 | |
|     unittest.main()
 |