mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 02:15:10 +00:00 
			
		
		
		
	 7dc9dea778
			
		
	
	
		7dc9dea778
		
	
	
	
	
		
			
			The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import os
 | |
| from test import support
 | |
| 
 | |
| # Skip this test if _tkinter does not exist.
 | |
| support.import_module('_tkinter')
 | |
| 
 | |
| from tkinter.test import runtktests
 | |
| 
 | |
| def test_main():
 | |
|     support.run_unittest(
 | |
|             *runtktests.get_tests(gui=False, packages=['test_ttk']))
 | |
| 
 | |
| if __name__ == '__main__':
 | |
|     test_main()
 |