mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
Fix test for Python 3.
This commit is contained in:
parent
ff3342aeed
commit
43dd224d52
1 changed files with 15 additions and 1 deletions
|
|
@ -1,6 +1,20 @@
|
|||
import msgpack
|
||||
|
||||
reserved_bytes = b"\xc1\xc4\xc5\xc6\xc7\xc8\xc9\xd4\xd5\xd6\xd7\xd8\xd9"
|
||||
reserved_bytes = [
|
||||
b"\xc1",
|
||||
b"\xc4",
|
||||
b"\xc5",
|
||||
b"\xc6",
|
||||
b"\xc7",
|
||||
b"\xc8",
|
||||
b"\xc9",
|
||||
b"\xd4",
|
||||
b"\xd5",
|
||||
b"\xd6",
|
||||
b"\xd7",
|
||||
b"\xd8",
|
||||
b"\xd9",
|
||||
]
|
||||
|
||||
def test_skip_reserved():
|
||||
packed_list = msgpack.packb([])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue