mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Removed unused code
This commit is contained in:
		
							parent
							
								
									912a33f5e9
								
							
						
					
					
						commit
						1a108281b9
					
				| 
						 | 
					@ -12,10 +12,6 @@ def int_to_float(i):
 | 
				
			||||||
    return i / 255
 | 
					    return i / 255
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def str_to_float(i):
 | 
					 | 
				
			||||||
    return ord(i) / 255
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def tuple_to_ints(tp):
 | 
					def tuple_to_ints(tp):
 | 
				
			||||||
    x, y, z = tp
 | 
					    x, y, z = tp
 | 
				
			||||||
    return int(x * 255.0), int(y * 255.0), int(z * 255.0)
 | 
					    return int(x * 255.0), int(y * 255.0), int(z * 255.0)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,6 @@ from .helper import CachedProperty, assert_image_equal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class TestImagingPaste:
 | 
					class TestImagingPaste:
 | 
				
			||||||
    masks = {}
 | 
					 | 
				
			||||||
    size = 128
 | 
					    size = 128
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def assert_9points_image(
 | 
					    def assert_9points_image(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user