Skip to content

Commit 4d9947b

Browse files
committed
Revert "Fix PendingDeprecationWarning with Packer.encoding"
This reverts commit 88ec399.
1 parent 513df73 commit 4d9947b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

neovim/msgpack_rpc/msgpack_stream.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class MsgpackStream(object):
2020
def __init__(self, event_loop):
2121
"""Wrap `event_loop` on a msgpack-aware interface."""
2222
self.loop = event_loop
23-
self._packer = Packer(unicode_errors=unicode_errors_default)
23+
self._packer = Packer(encoding='utf-8',
24+
unicode_errors=unicode_errors_default)
2425
self._unpacker = Unpacker()
2526
self._message_cb = None
2627

setup.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
[flake8]
22
ignore = D211,E731,D401
3-
4-
[tool:pytest]
5-
filterwarnings =
6-
once::DeprecationWarning
7-
once::PendingDeprecationWarning

0 commit comments

Comments
 (0)