From 5d9e3a7e6eda266496783b27684045a8f7a98c12 Mon Sep 17 00:00:00 2001 From: phi Date: Sun, 2 Nov 2025 16:32:26 +0900 Subject: [PATCH] fix: pypy tests --- tests/common/test_msgpack_packet.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/common/test_msgpack_packet.py b/tests/common/test_msgpack_packet.py index 1079e01..8a3befd 100644 --- a/tests/common/test_msgpack_packet.py +++ b/tests/common/test_msgpack_packet.py @@ -73,9 +73,7 @@ class TestMsgPackPacket: 'key': 'value', } p_without_default = msgpack_packet.MsgPackPacket(data=data) - with pytest.raises( - TypeError, match="can not serialize 'datetime.datetime' object" - ): + with pytest.raises(TypeError): p_without_default.encode() def test_encode_decode_with_ext_hook(self):