blob: 56b44553a7ed7c50cdf9a389019b2145da2f300d (
plain)
1
2
3
4
5
6
7
8
|
import msgpack
reserved_bytes = b"\xc1\xc4\xc5\xc6\xc7\xc8\xc9\xd4\xd5\xd6\xd7\xd8\xd9"
def test_skip_reserved():
packed_list = msgpack.packb([])
for b in reserved_bytes:
assert msgpack.unpackb(b+packed_list, use_list=1) == []
|