mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Fixed variables misprint in ImageDraw tests
This commit is contained in:
parent
0cbf318004
commit
5522fa472d
|
@ -123,7 +123,7 @@ class TestImageDraw(PillowTestCase):
|
||||||
draw = ImageDraw.Draw(im)
|
draw = ImageDraw.Draw(im)
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
draw.line(points1, fill="yellow", width=2)
|
draw.line(points, fill="yellow", width=2)
|
||||||
del draw
|
del draw
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
|
@ -161,7 +161,7 @@ class TestImageDraw(PillowTestCase):
|
||||||
draw = ImageDraw.Draw(im)
|
draw = ImageDraw.Draw(im)
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
draw.point(points1, fill="yellow")
|
draw.point(points, fill="yellow")
|
||||||
del draw
|
del draw
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
|
@ -180,7 +180,7 @@ class TestImageDraw(PillowTestCase):
|
||||||
draw = ImageDraw.Draw(im)
|
draw = ImageDraw.Draw(im)
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
draw.polygon(points1, fill="red", outline="blue")
|
draw.polygon(points, fill="red", outline="blue")
|
||||||
del draw
|
del draw
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
|
|
Loading…
Reference in New Issue
Block a user