This commit is contained in:
Andrew Murray 2024-02-07 10:19:00 +11:00
parent 811dd15ca5
commit 91645f9eff

View File

@ -776,9 +776,11 @@ def test_rectangle_translucent_outline(bbox: Coords) -> None:
[(10, 20, 190, 180), ([10, 20], [190, 180]), ((10, 20), (190, 180))], [(10, 20, 190, 180), ([10, 20], [190, 180]), ((10, 20), (190, 180))],
) )
def test_rounded_rectangle( def test_rounded_rectangle(
xy: tuple[int, int, int, int] xy: (
tuple[int, int, int, int]
| tuple[list[int]] | tuple[list[int]]
| tuple[tuple[int, int], tuple[int, int]] | tuple[tuple[int, int], tuple[int, int]]
)
) -> None: ) -> None:
# Arrange # Arrange
im = Image.new("RGB", (200, 200)) im = Image.new("RGB", (200, 200))