mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
Lint
This commit is contained in:
parent
75cdd03f28
commit
cafe4f0985
2 changed files with 5 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ def test_unpack_bytearray():
|
|||
obj = unpackb(buf, use_list=1)
|
||||
assert [b"foo", b"bar"] == obj
|
||||
expected_type = bytes
|
||||
assert all(type(s) == expected_type for s in obj)
|
||||
assert all(type(s) is expected_type for s in obj)
|
||||
|
||||
|
||||
def test_unpack_memoryview():
|
||||
|
|
@ -26,7 +26,7 @@ def test_unpack_memoryview():
|
|||
obj = unpackb(view, use_list=1)
|
||||
assert [b"foo", b"bar"] == obj
|
||||
expected_type = bytes
|
||||
assert all(type(s) == expected_type for s in obj)
|
||||
assert all(type(s) is expected_type for s in obj)
|
||||
|
||||
|
||||
def test_packer_getbuffer():
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
#!/usr/bin/env python3
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
from msgpack import Packer
|
||||
import threading
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
|
||||
from msgpack import Packer
|
||||
|
||||
|
||||
def run_threaded(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue