Handle bytes in test for Py2 and 3

This commit is contained in:
hugovk 2014-04-11 15:02:42 +03:00
parent 2271ee6f65
commit bfc05b7a8c

View File

@ -95,7 +95,7 @@ def test_meta():
meta = ole.get_metadata() meta = ole.get_metadata()
# Assert # Assert
assert_equal(meta.author, "Laurence Ipsum") assert_equal(meta.author, b"Laurence Ipsum")
assert_equal(meta.num_pages, 1) assert_equal(meta.num_pages, 1)
# End of file # End of file