Fix bytes/string mismatch in test on Python 3
This commit is contained in:
parent
ee5b836e27
commit
2697b63bcd
|
@ -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.'
|
||||
""",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue