Files
buildroot/support/testing/tests/package/sample_python_msgpack.py
Marcus Hoffmann d429d5d399 support/testing: add python-msgpack runtime test
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-07-15 00:12:51 +02:00

6 lines
127 B
Python

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