Commit 80ced42d authored by Benjamin Lerman's avatar Benjamin Lerman

mojo: fix python unittests.

TBR=sdefresne@chromium.org

Review URL: https://codereview.chromium.org/586683002

Cr-Commit-Position: refs/heads/master@{#295685}
parent 37dd5f48
......@@ -205,7 +205,7 @@ class StringType(PointerType):
def DeserializePointer(self, size, nb_elements, data, handles):
string_array = self._array_type.DeserializeArray(
size, nb_elements, data, handles)
return unicode(buffer(string_array), 'utf8')
return unicode(string_array.tostring(), 'utf8')
class HandleType(SerializableType):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment