From bfc05b7a8cbbd678cbd837791450c5d67d19922e Mon Sep 17 00:00:00 2001 From: hugovk Date: Fri, 11 Apr 2014 15:02:42 +0300 Subject: [PATCH] Handle bytes in test for Py2 and 3 --- Tests/test_olefileio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_olefileio.py b/Tests/test_olefileio.py index 3cd581b2e..3d65d9018 100644 --- a/Tests/test_olefileio.py +++ b/Tests/test_olefileio.py @@ -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