mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-14 02:02:28 +03:00
all literals are bytes
This commit is contained in:
parent
107307dfc9
commit
7a4847f457
|
@ -211,9 +211,9 @@ class TestFileTiffMetadata(PillowTestCase):
|
||||||
def test_expty_values(self):
|
def test_expty_values(self):
|
||||||
data = io.BytesIO(
|
data = io.BytesIO(
|
||||||
b'II*\x00\x08\x00\x00\x00\x03\x00\x1a\x01\x05\x00\x00\x00\x00\x00'
|
b'II*\x00\x08\x00\x00\x00\x03\x00\x1a\x01\x05\x00\x00\x00\x00\x00'
|
||||||
'\x00\x00\x00\x00\x1b\x01\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00'
|
b'\x00\x00\x00\x00\x1b\x01\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00'
|
||||||
'\x98\x82\x02\x00\x07\x00\x00\x002\x00\x00\x00\x00\x00\x00\x00a '
|
b'\x98\x82\x02\x00\x07\x00\x00\x002\x00\x00\x00\x00\x00\x00\x00a '
|
||||||
'text\x00\x00')
|
b'text\x00\x00')
|
||||||
head = data.read(8)
|
head = data.read(8)
|
||||||
info = TiffImagePlugin.ImageFileDirectory_v2(head)
|
info = TiffImagePlugin.ImageFileDirectory_v2(head)
|
||||||
info.load(data)
|
info.load(data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user