support/testing: add python-msgpack runtime test

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Marcus Hoffmann
2024-02-12 01:00:57 +01:00
committed by Arnout Vandecappelle
parent 2da40a2fd7
commit d429d5d399
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
import msgpack
packaed = msgpack.packb([1, 2, 3], use_bin_type=True)
assert msgpack.unpackb(packaed, raw=False) == [1, 2, 3]