Browse Source

fix: pypy tests

pull/1521/head
phi 7 months ago
parent
commit
5d9e3a7e6e
  1. 4
      tests/common/test_msgpack_packet.py

4
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):

Loading…
Cancel
Save