mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
fix lint
This commit is contained in:
parent
df0273e024
commit
87e7e88591
|
@ -1350,6 +1350,7 @@ def test_compute_regular_polygon_vertices_input_error_handling(
|
|||
ImageDraw._compute_regular_polygon_vertices(bounding_circle, n_sides, rotation)
|
||||
assert str(e.value) == error_message
|
||||
|
||||
|
||||
def test_continuous_horizontal_edges_polygon():
|
||||
with Image.open(
|
||||
os.path.join(IMAGES_PATH, "continuous_horizontal_edges_polygon.png")
|
||||
|
@ -1366,7 +1367,7 @@ def test_continuous_horizontal_edges_polygon():
|
|||
(4, 8),
|
||||
(3, 8),
|
||||
(2, 8),
|
||||
(2, 7)
|
||||
(2, 7),
|
||||
]
|
||||
img, draw = create_base_image_draw((16, 16))
|
||||
draw.polygon(xy, BLACK)
|
||||
|
|
Loading…
Reference in New Issue
Block a user