diff options
author | Bruno ReniƩ <brutasse@gmail.com> | 2014-08-29 10:26:36 +0200 |
---|---|---|
committer | Bruno ReniƩ <brutasse@gmail.com> | 2014-08-29 10:26:36 +0200 |
commit | 9c83b2bd764f494c3d3a074054914a2b5fd99328 (patch) | |
tree | 1ad91b2301425f38d59a10d432dd4e46d94844f1 /test/testutil.py | |
parent | 57e2842f54d863e3890ca75d7271356e549a5c09 (diff) | |
download | kafka-python-9c83b2bd764f494c3d3a074054914a2b5fd99328.tar.gz |
Bytes in self.msg()
Diffstat (limited to 'test/testutil.py')
-rw-r--r-- | test/testutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil.py b/test/testutil.py index 7c8c802..114dff9 100644 --- a/test/testutil.py +++ b/test/testutil.py @@ -88,7 +88,7 @@ class KafkaIntegrationTestCase(unittest.TestCase): if s not in self._messages: self._messages[s] = '%s-%s-%s' % (s, self.id(), str(uuid.uuid4())) - return self._messages[s] + return self._messages[s].encode('utf-8') class Timer(object): def __enter__(self): |