Visitar URL original
Add no-GIL interpreter support by clin1234 · Pull Request #641 · msgpack/msgpack-python · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Lint
  • Loading branch information
clin1234 committed Jul 20, 2025
commit cafe4f0985f3712882d26ca45bddf8c49f6adca7
4 changes: 2 additions & 2 deletions test/test_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Comment thread
clin1234 marked this conversation as resolved.


def test_unpack_memoryview():
Expand All @@ -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():
Expand Down
3 changes: 2 additions & 1 deletion test/test_multithreading.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python3
Comment thread
clin1234 marked this conversation as resolved.
import threading
from concurrent.futures import ThreadPoolExecutor

from msgpack import Packer
import threading


def run_threaded(
Expand Down