mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011)
This commit is contained in:
		
							parent
							
								
									79fbcc597d
								
							
						
					
					
						commit
						aeca373b33
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -329,6 +329,11 @@ def test_identify(self): | |||
|         self.entry.wait_visibility() | ||||
|         self.entry.update_idletasks() | ||||
| 
 | ||||
|         # bpo-27313: macOS Cocoa widget differs from X, allow either | ||||
|         if sys.platform == 'darwin': | ||||
|             self.assertIn(self.entry.identify(5, 5), | ||||
|                 ("textarea", "Combobox.button") ) | ||||
|         else: | ||||
|             self.assertEqual(self.entry.identify(5, 5), "textarea") | ||||
|         self.assertEqual(self.entry.identify(-1, -1), "") | ||||
| 
 | ||||
|  |  | |||
|  | @ -0,0 +1 @@ | |||
| Avoid test_ttk_guionly ComboboxTest failure with macOS Cocoa Tk. | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ned Deily
						Ned Deily