mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
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:
committed by
Arnout Vandecappelle
parent
2da40a2fd7
commit
d429d5d399
5
support/testing/tests/package/sample_python_msgpack.py
Normal file
5
support/testing/tests/package/sample_python_msgpack.py
Normal 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]
|
||||
Reference in New Issue
Block a user