mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
Reformat
This commit is contained in:
parent
324d934128
commit
df0273e024
|
@ -1355,7 +1355,19 @@ def test_continuous_horizontal_edges_polygon():
|
|||
os.path.join(IMAGES_PATH, "continuous_horizontal_edges_polygon.png")
|
||||
) as expected:
|
||||
expected.load()
|
||||
xy = [(2, 6), (12, 6), (12, 12), (8, 12), (8, 9), (8, 8), (5, 8), (4, 8), (3, 8), (2, 8), (2, 7)]
|
||||
xy = [
|
||||
(2, 6),
|
||||
(12, 6),
|
||||
(12, 12),
|
||||
(8, 12),
|
||||
(8, 9),
|
||||
(8, 8),
|
||||
(5, 8),
|
||||
(4, 8),
|
||||
(3, 8),
|
||||
(2, 8),
|
||||
(2, 7)
|
||||
]
|
||||
img, draw = create_base_image_draw((16, 16))
|
||||
draw.polygon(xy, BLACK)
|
||||
assert_image_equal(img, expected, "continuous horizontal edges polygon failed")
|
||||
|
|
Loading…
Reference in New Issue
Block a user