Commit 34df7822 authored by Michal Čihař's avatar Michal Čihař

Fix tests on Python 3

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f92c81a9
......@@ -103,9 +103,9 @@ class PoExporterTest(TestCase):
translated=True,
)
if self._has_context:
self.assertIn('context', result)
self.assertIn(b'context', result)
elif self._has_context is not None:
self.assertNotIn('context', result)
self.assertNotIn(b'context', result)
class PoXliffExporterTest(PoExporterTest):
......
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