mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-04 16:03:42 +03:00
Updating Test
changing from equal to similar
This commit is contained in:
parent
f358038968
commit
fa85f112cd
|
@ -100,7 +100,7 @@ class TestImageRotate(PillowTestCase):
|
||||||
def test_rotate_with_fill(self):
|
def test_rotate_with_fill(self):
|
||||||
im = hopper()
|
im = hopper()
|
||||||
target = Image.open('Tests/images/hopper45withfill.png')
|
target = Image.open('Tests/images/hopper45withfill.png')
|
||||||
self.assert_image_equal(im.rotate(45, fillcolor='white'), target)
|
self.assert_image_similar(im.rotate(45, fillcolor='white'), target, 1)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user