Fix bytes/string mismatch in test on Python 3

This commit is contained in:
Jason R. Coombs 2013-10-10 18:01:56 -04:00
parent ee5b836e27
commit 2697b63bcd
1 changed files with 1 additions and 0 deletions

View File

@ -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.'
""",
}