We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d96b2 commit 50b3170Copy full SHA for 50b3170
tests/test_encoders.py
@@ -1,5 +1,4 @@
1
import json
2
-import msgpack
3
4
from unittest import TestCase
5
@@ -88,7 +87,7 @@ def test_encode_traces_msgpack(self):
88
87
89
encoder = MsgpackEncoder()
90
spans = encoder.encode_traces(traces)
91
- items = msgpack.unpackb(spans)
+ items = encoder.decode(spans)
92
93
# test the encoded output that should be a string
94
# and the output must be flatten
@@ -123,7 +122,7 @@ def test_join_encoded_msgpack(self):
123
122
data = encoder.join_encoded(encoded_traces)
124
125
# Parse the encoded data
126
- items = msgpack.unpackb(data)
+ items = encoder.decode(data)
127
128
129
0 commit comments