From 5342390fd2ce0941b837f426ce93a60352aa1e6e Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 22 Sep 2014 10:39:05 +0300 Subject: [PATCH] Fix test --- Tests/test_file_jpeg.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/test_file_jpeg.py b/Tests/test_file_jpeg.py index 2111cfd59..60eb526c5 100644 --- a/Tests/test_file_jpeg.py +++ b/Tests/test_file_jpeg.py @@ -44,8 +44,9 @@ class TestFileJpeg(PillowTestCase): im = Image.open(TEST_FILE) self.assertEqual( im.applist[0], - ("APP0", b"JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00")) - self.assertEqual(im.applist[1], ("COM", b"Python Imaging Library")) + ("APP0", b"JFIF\x00\x01\x01\x01\x00`\x00`\x00\x00")) + self.assertEqual(im.applist[1], ( + "COM", b"File written by Adobe Photoshop\xa8 4.0\x00")) self.assertEqual(len(im.applist), 2) def test_cmyk(self):