mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl (GH-26412)
This commit is contained in:
		
							parent
							
								
									f4b70c22c8
								
							
						
					
					
						commit
						e90e042218
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -738,9 +738,9 @@ def check(value): | |||
| 
 | ||||
|     @support.cpython_only | ||||
|     def test_new_tcl_obj(self): | ||||
|         self.assertRaises(TypeError, _tkinter.Tcl_Obj) | ||||
|         self.assertRaises(TypeError, _tkinter.TkttType) | ||||
|         self.assertRaises(TypeError, _tkinter.TkappType) | ||||
|         support.check_disallow_instantiation(self, _tkinter.Tcl_Obj) | ||||
|         support.check_disallow_instantiation(self, _tkinter.TkttType) | ||||
|         support.check_disallow_instantiation(self, _tkinter.TkappType) | ||||
| 
 | ||||
| class BigmemTclTest(unittest.TestCase): | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Erlend Egeberg Aasland
						Erlend Egeberg Aasland