mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Python3 fix.
This commit is contained in:
parent
dbf40a0124
commit
febfd1e124
|
@ -115,7 +115,7 @@ def test_bad_ztxt():
|
||||||
im = load(HEAD + chunk(b'zTXt', b'spam\0\0') + TAIL)
|
im = load(HEAD + chunk(b'zTXt', b'spam\0\0') + TAIL)
|
||||||
assert_equal(im.info, {'spam': ''})
|
assert_equal(im.info, {'spam': ''})
|
||||||
|
|
||||||
im = load(HEAD + chunk(b'zTXt', b'spam\0\0' + zlib.compress(b'egg')[0]) + TAIL)
|
im = load(HEAD + chunk(b'zTXt', b'spam\0\0' + zlib.compress(b'egg')[:1]) + TAIL)
|
||||||
assert_equal(im.info, {'spam': ''})
|
assert_equal(im.info, {'spam': ''})
|
||||||
|
|
||||||
im = load(HEAD + chunk(b'zTXt', b'spam\0\0' + zlib.compress(b'egg')) + TAIL)
|
im = load(HEAD + chunk(b'zTXt', b'spam\0\0' + zlib.compress(b'egg')) + TAIL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user