8000 Fix test for Python 3. · simonsfoundation/msgpack-python@43dd224 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43dd224

Browse files
committed
Fix test for Python 3.
1 parent ff3342a commit 43dd224

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

test/test_reserved.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
import msgpack
22

3-
reserved_bytes = b"\xc1\xc4\xc5\xc6\xc7\xc8\xc9\xd4\xd5\xd6\xd7\xd8\xd9"
3+
reserved_bytes = [
4+
b"\xc1",
5+
b"\xc4",
6+
b"\xc5",
7+
b"\xc6",
8+
b"\xc7",
9+
b"\xc8",
10+
b"\xc9",
11+
b"\xd4",
12+
b"\xd5",
13+
b"\xd6",
14+
b"\xd7",
15+
b"\xd8",
16+
b"\xd9",
17+
]
418

519
def test_skip_reserved():
620
packed_list = msgpack.packb([])

0 commit comments

Comments
 (0)
0