mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	[3.9] bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28929)
(cherry picked from commit f59ed3c310)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									5638618845
								
							
						
					
					
						commit
						5d74713093
					
				
					 17 changed files with 494 additions and 598 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| import unittest | ||||
| import tkinter | ||||
| from tkinter import font | ||||
| from test.support import requires, run_unittest, gc_collect, ALWAYS_EQ | ||||
| from test.support import requires, gc_collect, ALWAYS_EQ | ||||
| from tkinter.test.support import AbstractTkTest, AbstractDefaultRootTest | ||||
| 
 | ||||
| requires('gui') | ||||
|  | @ -139,7 +139,5 @@ def test_names(self): | |||
|         self.assertRaises(RuntimeError, font.names) | ||||
| 
 | ||||
| 
 | ||||
| tests_gui = (FontTest, DefaultRootTest) | ||||
| 
 | ||||
| if __name__ == "__main__": | ||||
|     run_unittest(*tests_gui) | ||||
|     unittest.main() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Łukasz Langa
						Łukasz Langa