mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 00:46:16 +03:00
Fix metadata test for python3
This commit is contained in:
parent
cd12a48fe0
commit
356da80686
|
@ -108,9 +108,9 @@ class TestFileWebpMetadata(PillowTestCase):
|
|||
self.assertFalse(webp_image._getexif())
|
||||
|
||||
def test_write_animated_metadata(self):
|
||||
iccp_data = "<iccp_data>"
|
||||
exif_data = "<exif_data>"
|
||||
xmp_data = "<xmp_data>"
|
||||
iccp_data = '<iccp_data>'.encode('utf-8')
|
||||
exif_data = '<exif_data>'.encode('utf-8')
|
||||
xmp_data = '<xmp_data>'.encode('utf-8')
|
||||
|
||||
temp_file = self.tempfile("temp.webp")
|
||||
frame1 = Image.open('Tests/images/anim_frame1.webp')
|
||||
|
|
Loading…
Reference in New Issue
Block a user