mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Remove unused helper method
This commit is contained in:
parent
cfc4c3e101
commit
cbba2c24bf
|
@ -13,12 +13,8 @@ class TestFormatHSV(PillowTestCase):
|
|||
return float(i)/255.0
|
||||
|
||||
def str_to_float(self, i):
|
||||
|
||||
return float(ord(i))/255.0
|
||||
|
||||
def to_int(self, f):
|
||||
return int(f*255.0)
|
||||
|
||||
def tuple_to_ints(self, tp):
|
||||
x, y, z = tp
|
||||
return (int(x*255.0), int(y*255.0), int(z*255.0))
|
||||
|
|
Loading…
Reference in New Issue
Block a user