diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py index 935682a85..9348a99f0 100644 --- a/testing/test_assertrewrite.py +++ b/testing/test_assertrewrite.py @@ -514,6 +514,7 @@ def test_rewritten(): def test_load_resource(): assert isinstance(__loader__, AssertionRewritingHook) res = pkg_resources.resource_string(__name__, 'resource.txt') + res = res.decode('ascii') assert res == 'Load me please.' """, }