mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Issue #18592: Make unittest for SearchDialogBase work on all tk versions.
This commit is contained in:
		
							parent
							
								
									be254265ff
								
							
						
					
					
						commit
						3740d589f7
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -80,10 +80,10 @@ def test_make_entry(self):
 | 
			
		|||
 | 
			
		||||
        self.assertIn(entry.get(), 'hello')
 | 
			
		||||
        egi = entry.grid_info()
 | 
			
		||||
        equal(egi['row'], 0)
 | 
			
		||||
        equal(egi['column'], 1)
 | 
			
		||||
        equal(egi['rowspan'], 1)
 | 
			
		||||
        equal(egi['columnspan'], 1)
 | 
			
		||||
        equal(int(egi['row']), 0)
 | 
			
		||||
        equal(int(egi['column']), 1)
 | 
			
		||||
        equal(int(egi['rowspan']), 1)
 | 
			
		||||
        equal(int(egi['columnspan']), 1)
 | 
			
		||||
        equal(self.dialog.row, 1)
 | 
			
		||||
 | 
			
		||||
    def test_create_entries(self):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue