Remove unused helper method

This commit is contained in:
Hugo 2018-10-21 17:05:14 +03:00
parent cfc4c3e101
commit cbba2c24bf

View File

@ -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))