mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Handle bytes in test for Py2 and 3
This commit is contained in:
parent
2271ee6f65
commit
bfc05b7a8c
|
@ -95,7 +95,7 @@ def test_meta():
|
|||
meta = ole.get_metadata()
|
||||
|
||||
# Assert
|
||||
assert_equal(meta.author, "Laurence Ipsum")
|
||||
assert_equal(meta.author, b"Laurence Ipsum")
|
||||
assert_equal(meta.num_pages, 1)
|
||||
|
||||
# End of file
|
||||
|
|
Loading…
Reference in New Issue
Block a user