mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Merge pull request #7744 from radarhere/unused
This commit is contained in:
commit
ebc57945e3
|
@ -13,10 +13,6 @@ def int_to_float(i: int) -> float:
|
|||
return i / 255
|
||||
|
||||
|
||||
def str_to_float(i: str) -> float:
|
||||
return ord(i) / 255
|
||||
|
||||
|
||||
def tuple_to_ints(tp: tuple[float, float, float]) -> tuple[int, int, int]:
|
||||
x, y, z = tp
|
||||
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:
|
||||
masks = {}
|
||||
size = 128
|
||||
|
||||
def assert_9points_image(
|
||||
|
|
Loading…
Reference in New Issue
Block a user