File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def test_unpack_bytearray():
17
17
obj = unpackb (buf , use_list = 1 )
18
18
assert [b"foo" , b"bar" ] == obj
19
19
expected_type = bytes
20
- assert all (type (s ) == expected_type for s in obj )
20
+ assert all (type (s ) is expected_type for s in obj )
21
21
22
22
23
23
def test_unpack_memoryview ():
@@ -26,7 +26,7 @@ def test_unpack_memoryview():
26
26
obj = unpackb (view , use_list = 1 )
27
27
assert [b"foo" , b"bar" ] == obj
28
28
expected_type = bytes
29
- assert all (type (s ) == expected_type for s in obj )
29
+ assert all (type (s ) is expected_type for s in obj )
30
30
31
31
32
32
def test_packer_getbuffer ():
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
+ import threading
2
3
from concurrent .futures import ThreadPoolExecutor
4
+
3
5
from msgpack import Packer
4
- import threading
5
6
6
7
7
8
def run_threaded (
You can’t perform that action at this time.
0 commit comments