Commit ad69941f authored by Michal Čihař's avatar Michal Čihař

Fixed manipulation with binary data

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent afc5863d
......@@ -286,8 +286,8 @@ class TSFormatTest(XMLMixin, AutoFormatTest):
def assert_same(self, newdata, testdata):
# Comparing of XML with doctype fails...
self.assertXMLEqual(
newdata.replace('<!DOCTYPE TS>', ''),
testdata.replace('<!DOCTYPE TS>', '')
newdata.replace(b'<!DOCTYPE TS>', b''),
testdata.replace(b'<!DOCTYPE TS>', b'')
)
......
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