mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Use more precise Tcl version checks in tests.
This commit is contained in:
		
							parent
							
								
									4e1f355c0e
								
							
						
					
					
						commit
						3bd66abb94
					
				
					 2 changed files with 6 additions and 4 deletions
				
			
		|  | @ -1040,7 +1040,7 @@ def test_paneconfigure_before(self): | |||
|     def test_paneconfigure_height(self): | ||||
|         p, b, c = self.create2() | ||||
|         self.check_paneconfigure(p, b, 'height', 10, 10, | ||||
|                                  stringify=tcl_version < (8, 5)) | ||||
|                                  stringify=get_tk_patchlevel() < (8, 5, 11)) | ||||
|         self.check_paneconfigure_bad(p, b, 'height', | ||||
|                                      'bad screen distance "badValue"') | ||||
| 
 | ||||
|  | @ -1088,7 +1088,7 @@ def test_paneconfigure_stretch(self): | |||
|     def test_paneconfigure_width(self): | ||||
|         p, b, c = self.create2() | ||||
|         self.check_paneconfigure(p, b, 'width', 10, 10, | ||||
|                                  stringify=tcl_version < (8, 5)) | ||||
|                                  stringify=get_tk_patchlevel() < (8, 5, 11)) | ||||
|         self.check_paneconfigure_bad(p, b, 'width', | ||||
|                                      'bad screen distance "badValue"') | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka