8000 Remove six.b() · popravich/msgpack-python@63eab50 · GitHub
[go: up one dir, main page]

Skip to content

Commit 63eab50

Browse filesBrowse files
committed
Remove six.b()
1 parent dee2d87 commit 63eab50

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/test_seq.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
#!/usr/bin/env python
22
# coding: utf-8
33

4-
import six
54
import io
65
import msgpack
76

8-
binarydata = [chr(i) for i in range(256)]
9-
binarydata = six.b("".join(binarydata))
7+
8+
binarydata = bytes(bytearray(range(256)))
109

1110
def gen_binary_data(idx):
12-
data = binarydata[:idx % 300]
13-
return data
11+
return binarydata[:idx % 300]
12+
1413

1514
def test_exceeding_unpacker_read_size():
1615
dumpf = io.BytesIO()

0 commit comments

Comments
 (0)
0