Commit 9e80aa7b authored by Jérome Perrin's avatar Jérome Perrin

software/fluentd/test: adjust test for msgpack >= 1.0

As described in https://github.com/msgpack/msgpack-python#major-breaking-changes-in-msgpack-10
raw is False by default for unpacker so we receive strings, not bytes
parent 9636d79c
......@@ -92,8 +92,8 @@ class WendelinTutorialTestCase(FluentdTestCase):
@classmethod
def measureDict(cls):
return {k: v.encode() for k, v in
zip((b'pressure', b'humidity', b'temperature'), cls._measurementList)}
return {k: v for k, v in
zip(('pressure', 'humidity', 'temperature'), cls._measurementList)}
@classmethod
def setUpClass(cls):
......
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