mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Test change -- different representation for invalid compressed object
This commit is contained in:
parent
44286ba3c9
commit
b73c4b9e8b
|
@ -153,7 +153,7 @@ class TestFilePng(PillowTestCase):
|
|||
|
||||
im = load(HEAD + chunk(b'iTXt', b'spam\0\1\0en\0Spam\0' +
|
||||
zlib.compress(b"egg")[:1]) + TAIL)
|
||||
self.assertEqual(im.info, {})
|
||||
self.assertEqual(im.info, {'spam':''})
|
||||
|
||||
im = load(HEAD + chunk(b'iTXt', b'spam\0\1\1en\0Spam\0' +
|
||||
zlib.compress(b"egg")) + TAIL)
|
||||
|
|
Loading…
Reference in New Issue
Block a user