Updated test

This commit is contained in:
Andrew Murray 2020-02-16 13:01:01 +11:00
parent bfafc5ec1e
commit ea93a62d1f

View File

@ -224,7 +224,7 @@ class TestImageDraw(PillowTestCase):
# Assert # Assert
with Image.open("Tests/images/imagedraw_chord_zero_width.png") as expected: with Image.open("Tests/images/imagedraw_chord_zero_width.png") as expected:
self.assert_image_equal(im, expected) assert_image_equal(im, expected)
def helper_ellipse(self, mode, bbox): def helper_ellipse(self, mode, bbox):
# Arrange # Arrange
@ -324,7 +324,7 @@ class TestImageDraw(PillowTestCase):
# Assert # Assert
with Image.open("Tests/images/imagedraw_ellipse_zero_width.png") as expected: with Image.open("Tests/images/imagedraw_ellipse_zero_width.png") as expected:
self.assert_image_equal(im, expected) assert_image_equal(im, expected)
def helper_line(self, points): def helper_line(self, points):
# Arrange # Arrange
@ -436,7 +436,7 @@ class TestImageDraw(PillowTestCase):
# Assert # Assert
with Image.open("Tests/images/imagedraw_pieslice_zero_width.png") as expected: with Image.open("Tests/images/imagedraw_pieslice_zero_width.png") as expected:
self.assert_image_equal(im, expected) assert_image_equal(im, expected)
def helper_point(self, points): def helper_point(self, points):
# Arrange # Arrange
@ -552,7 +552,7 @@ class TestImageDraw(PillowTestCase):
# Assert # Assert
with Image.open("Tests/images/imagedraw_rectangle_zero_width.png") as expected: with Image.open("Tests/images/imagedraw_rectangle_zero_width.png") as expected:
self.assert_image_equal(im, expected) assert_image_equal(im, expected)
def test_rectangle_I16(self): def test_rectangle_I16(self):
# Arrange # Arrange