void-packages/srcpkgs/python3-jupyter_client/patches/test_session.patch

16 lines
582 B
Diff

encoding option is removed from msgpack.unpackb
See: https://pypi.org/project/msgpack/
diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
index 82d63df..d8636ff 100644
--- jupyter_client/tests/test_session.py
+++ jupyter_client/tests/test_session.py
@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
session = ss.Session(
pack=msgpack.packb,
- unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
+ unpack=lambda buf: msgpack.unpackb(buf),
)
self._datetime_test(session)