Removed unnecessary code

This commit is contained in:
Andrew Murray 2017-11-06 19:54:15 +11:00
parent 9bd66bccfc
commit 6c6f95f1d6

View File

@ -66,7 +66,6 @@ class TestFileWebpAnimation(PillowTestCase):
""" """
temp_file = self.tempfile("temp.webp") temp_file = self.tempfile("temp.webp")
temp_file2 = self.tempfile("temp.png")
frame1 = Image.open('Tests/images/anim_frame1.webp') frame1 = Image.open('Tests/images/anim_frame1.webp')
frame2 = Image.open('Tests/images/anim_frame2.webp') frame2 = Image.open('Tests/images/anim_frame2.webp')
frame1.save(temp_file, frame1.save(temp_file,
@ -77,7 +76,6 @@ class TestFileWebpAnimation(PillowTestCase):
# Compare first frame to original # Compare first frame to original
im.load() im.load()
im.save(temp_file2)
self.assert_image_equal(im, frame1.convert("RGBA")) self.assert_image_equal(im, frame1.convert("RGBA"))
# Compare second frame to original # Compare second frame to original