mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-29 23:17:49 +03:00 
			
		
		
		
	Remove unused left_old variable
This commit is contained in:
		
							parent
							
								
									606b5ae1e5
								
							
						
					
					
						commit
						cb5c8f6f86
					
				|  | @ -738,22 +738,22 @@ class TestImageFont: | ||||||
|             d.textbbox((0, 0), "test", font=default_font) |             d.textbbox((0, 0), "test", font=default_font) | ||||||
| 
 | 
 | ||||||
|     @pytest.mark.parametrize( |     @pytest.mark.parametrize( | ||||||
|         "anchor, left, left_old, top", |         "anchor, left, top", | ||||||
|         ( |         ( | ||||||
|             # test horizontal anchors |             # test horizontal anchors | ||||||
|             ("ls", 0, 0, -36), |             ("ls", 0, -36), | ||||||
|             ("ms", -64, -65, -36), |             ("ms", -64, -36), | ||||||
|             ("rs", -128, -129, -36), |             ("rs", -128, -36), | ||||||
|             # test vertical anchors |             # test vertical anchors | ||||||
|             ("ma", -64, -65, 16), |             ("ma", -64, 16), | ||||||
|             ("mt", -64, -65, 0), |             ("mt", -64, 0), | ||||||
|             ("mm", -64, -65, -17), |             ("mm", -64, -17), | ||||||
|             ("mb", -64, -65, -44), |             ("mb", -64, -44), | ||||||
|             ("md", -64, -65, -51), |             ("md", -64, -51), | ||||||
|         ), |         ), | ||||||
|         ids=("ls", "ms", "rs", "ma", "mt", "mm", "mb", "md"), |         ids=("ls", "ms", "rs", "ma", "mt", "mm", "mb", "md"), | ||||||
|     ) |     ) | ||||||
|     def test_anchor(self, anchor, left, left_old, top): |     def test_anchor(self, anchor, left, top): | ||||||
|         name, text = "quick", "Quick" |         name, text = "quick", "Quick" | ||||||
|         path = f"Tests/images/test_anchor_{name}_{anchor}.png" |         path = f"Tests/images/test_anchor_{name}_{anchor}.png" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user